Question: MATLAB ONLY PLEASE!!!! MATLAB ONLY PLEASE!!!! MATLAB ONLY PLEASE!!!! Consider the function, f(x)= e-x(3.2 * sinx-0.5 cos x) Write a computer program that uses Bisection
MATLAB ONLY PLEASE!!!!
MATLAB ONLY PLEASE!!!! MATLAB ONLY PLEASE!!!!
Consider the function, f(x)= e-x(3.2 * sinx-0.5 cos x) Write a computer program that uses Bisection Method, and calculates the root of the above function. Use the interval [3,41. Continue the iterations until a falls below the pre-specified criteria of -0.001%. The output table should show the following parameters for each iteration i: iteration number, values of xu and xi, value of functions at xu and xi, test value and true approximate percent relative errors. Ensure that the number of function evaluations are minimized and the assumptions of Bisection method are valid before each iteration. Note: See figure 5.11 for the pseudocode of Bisection Method. Consider the function, f(x)= e-x(3.2 * sinx-0.5 cos x) Write a computer program that uses Bisection Method, and calculates the root of the above function. Use the interval [3,41. Continue the iterations until a falls below the pre-specified criteria of -0.001%. The output table should show the following parameters for each iteration i: iteration number, values of xu and xi, value of functions at xu and xi, test value and true approximate percent relative errors. Ensure that the number of function evaluations are minimized and the assumptions of Bisection method are valid before each iteration. Note: See figure 5.11 for the pseudocode of Bisection Method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
