Escapement may avoid the need for lubrication in the escapement (though it does not obviate the requirement for lubrication of other parts of the gear train). The accuracy of a mechanical clock is dependent on the accuracy of the timing device. If this is a pendulum, then the period of swing of the pendulum determines the accuracy. If the pendulum rod is made of metal it will expand and contract with heat, shortening or lengthening the pendulum; this changes the time taken for a swing. Special alloys are used in expensive pendulum-based clocks to minimize this distortion. The degrees of arc
Mechanical energy nonconservative forces, like frictional forces, will be present, but often they are of negligible values and the mechanical energy's being constant can therefore be a useful approximation. In elastic collisions, the mechanical energy is conserved but in inelastic collisions, some mechanical energy is converted into heat. The equivalence between lost mechanical energy (dissipation) and an increase in temperature was discovered by James Prescott Joule. Many devices are used to convert mechanical energy to or from other forms of energy, e.g. an electric motor converts electrical energy to mechanical energy, an electric generator converts mechanical energy into electrical energy and a