Problem 7 (10 points, CCOs 2 & 5 ) Choose all statements tha…
Problem 7 (10 points, CCOs 2 & 5 ) Choose all statements that are true for finding solutions to a non-linear equation. The tolerance in function can be calculated using Newton’s method. The tolerance in solution can be calculated using the Secant method. The estimated relative error can be calculated using the Bisection method. If the initial interval bounds exhibit a sign change, the bisection method is guaranteed to find a solution in the interval. If the initial interval bounds exhibit no sign change, then there is no solution in the interval. If the tolerance in function of the 2 initial guesses for the secant method decreases, the method is guaranteed to converge to a solution. To apply Newton’s method, one requires only a method to calculate the function values at arbitrary values of the independent variable. None of the statements are true.
Read DetailsProblem 8 (6 points, CCOs 1 & 5 ) In Matlab what is the corr…
Problem 8 (6 points, CCOs 1 & 5 ) In Matlab what is the correct way to check if the result x of a lengthy calculation (about 50 operations) is equal to the theoretical value of 3.5? Note that tol , is an appropriately chosen positive tolerance for comparing floating-point values of the stated magnitude.Select all correct answers. if x – 3.5 < tol % result is 3.5end if x == 3.5 % result is 3.5end if abs(x - 3.5) == tol % result is 3.5end if abs(x - 3.5) < tol % result is 3.5end none of the above
Read Details