A star is modeled as a uniform spherical distribution of matter.How gravitational pressure on surface depends on volume of the star?
Gravitational potential energy of star
U=−3GM25R
VolumeV=43πR3⇒R=(3V4π)1/3
⇒U=−35(4π3)1/3GM2V−1/3
As dW=PdV=-dU
⇒P=−dUdV=15(4π3)1/3V−4/3