Posted by Scott Betts on October 14, 1997 at 15:32:15:
In Reply to: ordinary differential equations posted by Joseph Hodges on October 12, 1997 at 14:37:34:
: I need fortran code to solve the equation 1/r^2[d(r^2 d$/dr)/dr]={4(pi)G}@.
: @ is a function of r, @(r). G is a constant.
: This is analytically solvable but I want to put this as a subroutine within
: program which will use different @(r)s and eventually this will serve as a
: model for more complex models.
Joseph,
The ODE directory has a lot of Fortran code
dedicated to solving Ordinary Diff Eq's. Perhaps
one of these will work in your program...
Hope this helps!