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

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Octave 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by