• Advertisement
Sign in to follow this  

Numerical methods - derivatives/differentials

This topic is 4798 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been googlin 2nd day allready, but I can't find even algo for those methods, I'm searchin for Euler-Koshi and Runge-Kutt algos... No luck yet... Anyone knows good online res?

Share this post


Link to post
Share on other sites
Advertisement
A simple way to do it is this: so you have some function, y=f(x), and you want the derivative at x=x0. f'(x0) ~= ( f(x0+d) - f(x0-d) ) / (2 * d). Set d to some suitably small value, depending on the 'size' of your equation.

Share this post


Link to post
Share on other sites
But I need to implement exactly these 2 algos, But I dont know how they work, only name. I have derivative functions implemented other ways...

Share this post


Link to post
Share on other sites
well, on the Numerical Recipies site there is a set of nice docs:

link

look for:
16.1 Runge-Kutta Method

and a search for "euler cauchy" will return more results than "Euler-Koshi"
[8^)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement