25-Diamond I
September 15, 2013
Question
Problem with numeric eval of user written derivation routine
- September 15, 2013
- 4 replies
- 2000 views
Mathcads derivation operator is limited up to the fifth derivative. You would have to nest that operator for higher derivatives.
So I wrote a routine using recursion to calculate the n-th derivative of a function f at position a.
Using a third root of x+1 all works ok up to the fourth derivative. For higher derivatives only symbolical eval works but numeric would run endless (at least a cancelled eval after a while).
I guess that the numeric approximation algorithm for calculating the derivative will have to go through the recursion for every iteration step and thats very inefficient.
But why that abrupt change from fourth to fifth derivative?

