Question: Matlab Problem. Please include MatLab code. Will thumbs-up for code. Do a MATLAB experiment using f(x) = tan(x), computing FD approximations to f'(1/3) for orders
Matlab Problem. Please include MatLab code. Will thumbs-up for code.

Do a MATLAB experiment using f(x) = tan(x), computing FD approximations to f'(1/3) for orders 1, 2, 4. and 6. Choose about a hundred logarithmically spaced values of h from 10-1 to 10-14, and show the errors on a log-log graph. Extract the minima of these curves numerically or graphically and confirm the result of (c). Do a MATLAB experiment using f(x) = tan(x), computing FD approximations to f'(1/3) for orders 1, 2, 4. and 6. Choose about a hundred logarithmically spaced values of h from 10-1 to 10-14, and show the errors on a log-log graph. Extract the minima of these curves numerically or graphically and confirm the result of (c)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
