Example: Calculating the temperature of the Sun