next up previous contents
Next: File organization Up: Modifying Numerical Recipes ODE Previous: ``rk4p480()''

``derivs_int()''

 

Write a derivs routine of the following form appropriate for solution of the equation tex2html_wrap_inline335 , a simple one-dimensional ODE. Note that because the ODE is one-dimensional, there is only one component, tex2html_wrap_inline337 =dydx[1].

void derivs_int(double x, double y[], double dydx[],
            int k, double f[], double r[], double dr[], int N)

Output:

Input:



Tomas Arias
Mon Feb 11 20:04:44 EST 2002