Question: please use python or matlab Problem 2: Write a computer program to compute an approximate value for the second derivative of a function using the
please use python or matlab
Problem 2: Write a computer program to compute an approximate value for the second derivative of a function using the finite difference formula f(z h) - 2f(z) f(z -h) Test your program with the function ez for z = 1 and h = 10 error? k-0, . . . ,9. Compute the absolute errors. What value of h gives smallest absolute NOTE: in Python, is np.erp() you have to plot the errors out
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
