Clear Filters
Clear Filters

Help me with an M.file representation of the formula below.

2 views (last 30 days)
F"(X)= d^2/dx^2 = [f(x+h) - 2f(x) + f(x-h)] / h^2 with h approaching Zero. Question: write an M. file that implement the formula. write the M. file that implement the formula. the inputs should be the function to be differentiated, the values of X and h. use your code to estimate the second derivative of sin(X) at x=pi/4 with h = 10^-1

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!