maximus123
- 48
- 0
Hello, here is the question I have to answer;
Thanks a lot
I am aware that the gravitational energy of one layer of thickness dr isCalculate the total gravitational potential energy U of a gravitating sphere of mass M with a density profile \rho(r) given by
\rho(r)=\rho_{center}\left(1-\frac{r}{R_{star}}\right)
where R_{star} is the radius of the star and \rho_{center} is the density at r=0. First give an expression for the center density \rho_{center} in terms of R_{star} and M, then compute a value for the sun. Calculate the total gravitational potential energy of the sun.
dU=-\frac{GM(r)dm}{r}
and that ultimately I will have to integrate this over all radii but I am unclear about the expression for \rho_{center}. The only thing that springs to mind is\rho=\frac{M}{\frac{4}{3}\pi R^3}
but this must be for an average density over the whole star. Can anyone point me in the direction of how to establish an expression for \rho_{center}?Thanks a lot