Question: Please show all matlab code, thanks! (15 pts) Consider the nonlinear equations (i) cos x 1 and (ii) tan xx, and pretend that we do
Please show all matlab code, thanks!

(15 pts) Consider the nonlinear equations (i) cos x 1 and (ii) tan xx, and pretend that we do not know the solution is x 0 for both equations (a) (MATLAB) Try Newton's method with o 0.1. What is the observed order of convergence? (b) (MATLAB) Try the modified Newton's method kt-et m = 1,2,3,4, respectively, and find m leading to fastest convergence by trial and error. With the optimal m, what is the observed order of convergence? (c) (By hand) Evaluate fm) for positive integers m. What is the smallest m for which f(m)(z*)0 for (i) and (ii)? Compare these values with what you get in (c)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
