In mechanics the sum of potential energy and kinetic energy. In thermodynamics the internal energy or thermodynamic energy increase, , is the sum of heat and work brought to the system. Only changes in energy are measurable. For photons
where is the Planck constant and the frequency of radiation. In relativistic physics
where is the speed of light and the mass.