How can I calculate the temperature of the Sun?

Redirected from "How many valence electrons are in an atom of phosphorus?"