The principle of conservation of energy apply to the analysis of mechanical systems, particularly in the context of kinetic and potential energy transformations?