Question: MATLAB MATLAB MATLAB Consider the function f (x) = x - 24 + 3x - 2x + x-1-cos (50x). This function has at least one

MATLAB MATLAB MATLAB
Consider the function f (x) = x - 24 + 3x - 2x + x-1-cos (50x). This function has at least one zero between x= -0.2 and x = 1.3. You can confirm this by calculating f(-0.2) and (1.3) and checking that they have opposite signs. To make sure that you entered the function correctly, calculate the product f(-0.2). (1.3) and save it in a variable called ans1 Use the bisection method (you can copy the code we wrote in class) to find a zero off between a = -0.2 and b= 1.3. You should use exactly these values for a and b, and a tolerance of 10-10 (i.e., your final answer should be the first x you found such that-10-10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
