void derivs_Schrodinger(double x, double y[], double dydx[], int k, double T[], double r[], double dr[], int N)Output:
- dydx[]: value of
, defined as below
Input:
- x: value of independent variable (not used)
- y[]: y[1]=
, y[2]=
![]()
- k: integer index of arrays corresponding to x (x=k/N), so that r(x)=r[k], etc.
- T[]: kinetic energy, T[k]=T(r[k])
- r[], dr[], N: standard grid information
Include a function of the form above in the file ``physics.c'' before the code for schint(), where