1. The problem statement, all variables and given/known data Let be the density given by the expression p = p_{c}(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/r^{2} Continuity eq. dm/dr = 4*Pi*r^{2}p 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!
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.
Yes, I've found P(r) using Equilibrium equation, now if I write P=puRT (p:density; u:molar mass) and p=p_{c}(1-r/R). Then I Have a relation between T and p, is that right? thnk