- #1
AStaunton
- 105
- 1
******* I attempted to post this already today but I don't think I'm not sure if it worked...I apologise if this is a dublicate!**********
the problem is:
suppose that a star is modeled as having a density that decreases linearly from the center to the surface,
rho(r)=rho_c(1-r/R)
where rho_c is the central density and R is the stellar radius.
(1)Find m, the mass enclosed at radius r and thus derive expression for (2)the central pressure and (3)temperature that depend only on the overall mass M and the radius of the star R and physical constants.
part (1) is quite straightforward:
because we are dealing with a sphere the volume is:
integral[0-r] (4*pi*r^2) dr
=> m(r) = integral[0-r] (rho_c(1-r/R)(4*pi*r^2) dr
=> m(r) = 4*pi*rho_c(r^3/3 - r^4/4R)
so to get M, the total mass of star set r=R, where R is star radius
=> M = 1/3*pi*rho_c*R^3
I am having trouble with part (2) (deriving expression for the central pressure the depends only on the overall mass M and radius of the star R), my attempt is below and any advice on where I'm going wrong is appreciated:
from equation of hydrostatic equilibrium:
dP = rho*g*dr
where P = pressure of star rho=density g=is grav accel of star
r=distance into the star from the surface
=> P = integral[0-r] rho(r)*g(r) dr {A}
equation for rho is given in the question:
rho(r) = rho_c(1-r/R)
to find g for this star we use Newton's law of gravitation:
g = GM/r^2
solved for M in terms of r in part (1):
=> g=G(1/3*pi*rho_c*R^3)/r^2
so going back to equation {A}:
=> P = integral[0-R] (rho_c(1-r/R))(G(1/3*pi*rho_c*R^3)/r^2) dr
=> P = 1/3*pi*rho_c^2*G[-1/r - Rlnr] <---solved from [0-R] as implied by above integral
the above equation for P seems problematic here, as we are solving between the limits [0-R]... often the 0 means that that term in the expression goes to 0 and so we only have the R part left...however in the above equation I have a 1/r term and a ln(r) and I don't think either of these works when you try to stick in a 0 for r...
Any tips and advice are welcome.
the problem is:
suppose that a star is modeled as having a density that decreases linearly from the center to the surface,
rho(r)=rho_c(1-r/R)
where rho_c is the central density and R is the stellar radius.
(1)Find m, the mass enclosed at radius r and thus derive expression for (2)the central pressure and (3)temperature that depend only on the overall mass M and the radius of the star R and physical constants.
part (1) is quite straightforward:
because we are dealing with a sphere the volume is:
integral[0-r] (4*pi*r^2) dr
=> m(r) = integral[0-r] (rho_c(1-r/R)(4*pi*r^2) dr
=> m(r) = 4*pi*rho_c(r^3/3 - r^4/4R)
so to get M, the total mass of star set r=R, where R is star radius
=> M = 1/3*pi*rho_c*R^3
I am having trouble with part (2) (deriving expression for the central pressure the depends only on the overall mass M and radius of the star R), my attempt is below and any advice on where I'm going wrong is appreciated:
from equation of hydrostatic equilibrium:
dP = rho*g*dr
where P = pressure of star rho=density g=is grav accel of star
r=distance into the star from the surface
=> P = integral[0-r] rho(r)*g(r) dr {A}
equation for rho is given in the question:
rho(r) = rho_c(1-r/R)
to find g for this star we use Newton's law of gravitation:
g = GM/r^2
solved for M in terms of r in part (1):
=> g=G(1/3*pi*rho_c*R^3)/r^2
so going back to equation {A}:
=> P = integral[0-R] (rho_c(1-r/R))(G(1/3*pi*rho_c*R^3)/r^2) dr
=> P = 1/3*pi*rho_c^2*G[-1/r - Rlnr] <---solved from [0-R] as implied by above integral
the above equation for P seems problematic here, as we are solving between the limits [0-R]... often the 0 means that that term in the expression goes to 0 and so we only have the R part left...however in the above equation I have a 1/r term and a ln(r) and I don't think either of these works when you try to stick in a 0 for r...
Any tips and advice are welcome.