Numerical methods MAE 284 EXAM 1 Questions AND Correct Answers
___ suppresses outputs to the command window and separates rows in an array. - ✔✔; (semicolon)
A bracket with opposite-signed function values always contains exactly one root. (T/F) - ✔✔False
A bracket with opposite-signed function values always contains exactly one root. (T/F) - ✔✔False
A student is attempting to create a function file named quiz_question4.m after three tries they type a
function declaration that works correctly. which one of the listed functions is error-free - ✔✔function
[d,e] = quiz1_question4(a,b,c)
A TA is creating the following function header, but can't remember how to specify a return variable.
Click the dropdown menu and select the correct component. - ✔✔[grade] =
All mathematical problems have a closed-form solution(i.e. they can be solved without having to make
guesses). (T/F) - ✔✔False
All variables that have been defined are found in the command window even empty ones. (T/F) -
✔✔false
an advantage of the bisection algorithm is that it always converges. (T/F) - ✔✔True
An analytical solution is an approximation. (T/F) - ✔✔False
Bracketing methods always require two initial estimates. (T/F) - ✔✔True
Bracketing methods ALWAYS require two initial estimates. (T/F) - ✔✔true
Choose the statement that is equivalent to the expression below:
8+3*12^2 - ✔✔8+3*(12^2)
, chose the statement equivalent to 8^2/6-7 - ✔✔((8^2)/6)-7
Discontinuous function can result in a bracket with opposite signed function values having an even
number of roots. (T/F) - ✔✔True
How many parameters (or inputs) are in the following function? Input your answer as a whole number.
[a, b] = quiz1(c,d,e,f,g) - ✔✔5
How many parameters (or inputs) are in the following function? input your answer as a whole number.
[a,b] = quiz1(c,d,e,f,g) - ✔✔5
if the error is O(h^2) halving the step size will do what to the error. - ✔✔the error will be 1/4 what it was
If you expand an infinite series but only include the first four terms, you are introducing round-off error
into your approximation. (T/F) - ✔✔False
If you write a function in a new file, the function name MUST be the same name as the filename. (T/F) -
✔✔True
in general, a numerical solution is an exact solution. (T/F) - ✔✔false
In general, a numerical solution is an exact solution. (T/F) - ✔✔False
in the newton Raphson method, the new estimate at xi+1 is the intersection of the tangent line and the
x- axis. (T/F) - ✔✔True
incremental search is a root finding method. (T/F) - ✔✔false
___ suppresses outputs to the command window and separates rows in an array. - ✔✔; (semicolon)
A bracket with opposite-signed function values always contains exactly one root. (T/F) - ✔✔False
A bracket with opposite-signed function values always contains exactly one root. (T/F) - ✔✔False
A student is attempting to create a function file named quiz_question4.m after three tries they type a
function declaration that works correctly. which one of the listed functions is error-free - ✔✔function
[d,e] = quiz1_question4(a,b,c)
A TA is creating the following function header, but can't remember how to specify a return variable.
Click the dropdown menu and select the correct component. - ✔✔[grade] =
All mathematical problems have a closed-form solution(i.e. they can be solved without having to make
guesses). (T/F) - ✔✔False
All variables that have been defined are found in the command window even empty ones. (T/F) -
✔✔false
an advantage of the bisection algorithm is that it always converges. (T/F) - ✔✔True
An analytical solution is an approximation. (T/F) - ✔✔False
Bracketing methods always require two initial estimates. (T/F) - ✔✔True
Bracketing methods ALWAYS require two initial estimates. (T/F) - ✔✔true
Choose the statement that is equivalent to the expression below:
8+3*12^2 - ✔✔8+3*(12^2)
, chose the statement equivalent to 8^2/6-7 - ✔✔((8^2)/6)-7
Discontinuous function can result in a bracket with opposite signed function values having an even
number of roots. (T/F) - ✔✔True
How many parameters (or inputs) are in the following function? Input your answer as a whole number.
[a, b] = quiz1(c,d,e,f,g) - ✔✔5
How many parameters (or inputs) are in the following function? input your answer as a whole number.
[a,b] = quiz1(c,d,e,f,g) - ✔✔5
if the error is O(h^2) halving the step size will do what to the error. - ✔✔the error will be 1/4 what it was
If you expand an infinite series but only include the first four terms, you are introducing round-off error
into your approximation. (T/F) - ✔✔False
If you write a function in a new file, the function name MUST be the same name as the filename. (T/F) -
✔✔True
in general, a numerical solution is an exact solution. (T/F) - ✔✔false
In general, a numerical solution is an exact solution. (T/F) - ✔✔False
in the newton Raphson method, the new estimate at xi+1 is the intersection of the tangent line and the
x- axis. (T/F) - ✔✔True
incremental search is a root finding method. (T/F) - ✔✔false