Question: (30 Points) Using the bisect function, compute the root of f(x) 0.0025e3x)0.1 and the number of iterations required. Use 0 and 4 as the bounds.

 (30 Points) Using the bisect function, compute the root of f(x)

(30 Points) Using the bisect function, compute the root of f(x) 0.0025e3x)0.1 and the number of iterations required. Use 0 and 4 as the bounds. Use an error tolerance of 0.001%. Hint: Modify your bisect function to include the number of iterations as an output to the function. Plot the function between 0 and 5. Compute the root between 0 and 4. Display a table in the command window with the following columns: Root, and Iterations. Display the root with 10 decimal places. Just above the table, use an fprintf statement to-display a statement such as: Using 0 and 4 as the bounds". Repeat but use 4 and 5 as the bounds a. b. C. d. Plot both solutions on the plot from part a using a red sterisk for part b and a green asterisk for part c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!