Help me with an M.file representation of the formula below.
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Categories
Find more on Octave in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!