How is the energy produced in a nuclear reaction determined?

A. By multiplying the change in mass by the square of the speed of light

B. By multiplying the frequency by Planck's constant

C. By multiplying the mass by the square of velocity and dividing by two

D. By multiplying the mass by the acceleration due to gravity and the height