- #1

- 18

- 2

- Homework Statement
- How can I find the pressure as a function of the radius of a star that have a constant energy density, spherical symmetric, its initial radius is R and the total mass is M?

- Relevant Equations
- TOV equations.

##ds^2=-e^{\nu(r)}dt^2+r^{\lambda(r)}dr^2+r^2d\Omega^2##

What I've done is using the TOV equations and I what I found at the end is:

##e^{[\frac{-8}{3}\pi G\rho]r^2+[\frac{16}{9}(G\pi\rho)^{2}]r^4}-\rho=P(r)##

so I am sure that this is not right, if someone can help me knowing it I really apricate it :)

##e^{[\frac{-8}{3}\pi G\rho]r^2+[\frac{16}{9}(G\pi\rho)^{2}]r^4}-\rho=P(r)##

so I am sure that this is not right, if someone can help me knowing it I really apricate it :)