The mass change, or the mass defect, can be calculated by the formula that is very known to be associated with Albert Einstein.
E = Δmc²
where
E is the energy gained or released during the reaction
c is the speed of light equal to 3×10⁸ m/s
Δm is the mass change
(1.715×10³ kJ)(1,000 J/1 kJ) = Δm(3×10⁸ m/s)²
Δm = 1.91×10⁻¹¹ kg
So platinum is a transition metal. In general transition metals are reducers, which means they can give the electrons they have, to the sodium atoms. Also in chemistry we look at sub orbitals rather that shells(2,8,8). So due to the energy from heat, the d orbital split as electrons move to a higher energy level. Some of the electrons are given to the sodium ions and therefore the flame changes colour to yellow.
The excitation of the electrons is caused by them getting energy and so moving up an energy level. This energy is released and the electron returns to it's original state. The energy released, however, does not release in the same direction, but in different/various directions. Therefore the colour of the light changes as some energy is released in the surrounding.
Scientific laws and theories have different jobs to do. A scientific law predicts the results of certain initial conditions. ... In contrast, a theory tries to provide the most logical explanation about why things happen as they do.