``derivs_int()''

Write a derivs routine of the following form appropriate for solution of the equation $\frac{dy}{dx}=f(x)$, a simple one-dimensional ODE. Note that because the ODE is one-dimensional, there is only one component, $\frac{dy}{dx}$=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 2005-02-07