In a solar model, as described in stellar structure, one considers the density ρ ρ ( r ) , temperature T (r), total pressure (matter plus radiation) P (r), luminosity l (r) and energy generation rate per unit mass ε (r) in a spherical shell of a thickness dr at a distance r from the center of the star.