I am trying to do this question and getting stuck at interpreting what the question is asking for.
$$dP/dR = -g(R)\rho(R) = -[GM(<R)/R^2]\rho(R).$$
Thus when we descend a distance $\Delta R$ from the surface $R_s$ where $P=0$, the pressure will be approximately:
$$P = 0-\Delta P = GM(<R)/R^2\rho(R)\Delta R.$$By taking $\Delta R = R = R_s$, the radius of the star, and $\rho(R) = \bar{\rho} = 3M/(4\pi R_s^3)$, the mean density of the star, derive a rough estimate for the central pressure of the star and show that the central pressure is independent of mass for the scalings given above.
I am substituting the mean density equation instead of $\rho(R)$ into the second equation on the image and simplifying it. I am not sure that $<R$ mathematically represents and when I simplify it I get $P = (3M)/(4\pi R_s)$. I'm not sure if this is correct because my answer still has mass.
