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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Octave 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!