The German Gottfried Wilhelm Leibniz during 1676-1689 attempted a mathematical formulation of the kind of energy which is connected with motion ( kinetic energy ) . It was Gottfried Wilhelm Leibniz during 1676 â `` 1689 who first attempted a mathematical formulation of the kind of energy which is connected with motion ( kinetic energy ) .