How did scientists know the temperature of the center of the sun?

in #science7 years ago

sun-fireball-solar-flare-sunlight-87611.jpeg

Source

The sun is the closest star to the planet, the center of the solar system, including planets, and its light is one of the factors that help the existence of life as we know on our planet.

Although we experience a lot of summer heat when it reaches 35 to 40 degrees Celsius, we are still very far from the sun, with a distance of more than 150 million kilometers.

How did scientists know the temperature of the center of the sun?
You may be astounded when you know the temperature figures in the sun itself, so that the temperature on the surface of the sun up to about 5600 degrees Celsius in the surface, or in the interior temperature exceeds 15 million degrees Celsius! It is a temperature capable of evaporating anything on earth in moments.

But the question here is how did scientists and researchers know these figures?

Of course, no one went there to know the exact face temperature quantity, but how did they figure out that figure?

This figure is obtained from the detailed mathematical models of the inner part of the sun, by calculating the wavelength of the sun beam at the peak of the beam.

Source