Welcome the the forums!Originally Posted by watford73
![]()
So that's 2 questions, how you calculate the derivatives of f for various orders and then use them to build the polynome. Do you need any help with the former? Once you've got the derivatives all you have to do is apply McLaurin's formula:
f(x) = f(0)*x0 / 0! + f'(0)*x1 / 1! + f''(0)*x2 / 2!
there are more terms but that's enough for second order.
In your case you have to use h instead of x, I assume k is a constant.




Reply With Quote