Polytropes of index n: θ(ξ), density profile θⁿ, dimensionless radius ξ₁, concentration ρ_c/ρ̄ and the Sun modeled as a polytrope.
ξ21dξd(ξ2dξdθ)=−θn,ρˉρc=−3θ′(ξ1)ξ1
ξ₁
6.89685
−ξ₁² θ′(ξ₁)
2.01824
ρ_c / ρ̄
54.182
Sun: ρ_c
7.64×10⁴ kg/m³ (0.51 × actual)
Sun: P_c
1.24×10¹⁶ Pa
Sun: K
3.84×10⁹ SI
Lane–Emden θ″ + (2/ξ)θ′ + θⁿ = 0, θ(0)=1, θ′(0)=0 (series for ξ ≪ 1 + adaptive RK4). Lower panel: the Sun (M☉, R☉) modeled as a polytrope of index n; actual central density ≈ 1.5×10⁵ kg/m³ (standard solar model). Faint curves: n = 0, 1, 3 and n = 5 (infinite radius).