Study of the conservation of mechanical energy in the motion of a pendulum using a smartphone. (6th December 2017)