Law of conservation of energy equation