Stellar structure

1. atomqwerty

94
1. The problem statement, all variables and given/known data

Let be the density given by the expression p = pc(1-r/R) where R is tha radius of the star. Find the stratification for pressure and temperature.

2. Relevant equations

Equilibrium eq. dP/dr = -Gm(r)p/r2

Continuity eq. dm/dr = 4*Pi*r2p

PS.: p == rho (sorry for not using TeX)

3. The attempt at a solution

The main problem is how to find the temperature stratification... maybe using the ideal gas equation PV =nRT?

Thanks!

2. ideasrule

2,323
Have you already found the pressure distribution? If so, try rewriting the ideal gas law in terms of density, by multiplying both sides of PV=nRT by molar mass.

3. atomqwerty

94
Yes, I've found P(r) using Equilibrium equation, now if I write P=puRT (p:density; u:molar mass) and p=pc(1-r/R). Then I Have a relation between T and p, is that right?

thnk