ordinary differential equations

[ Follow Ups ] [ Post Followup ] [ Netlib Discussion Forum ] [ FAQ ]

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.

Follow Ups: