As a result, mechanical energy is transformed into heat energy, but total energy is constant.
(mechanical energy; is transformed; into heat energy) (total energy; is; constant)
mechanical energy total energy
is transformed is
into heat energy
constant