Artificial intelligent assistant

How do you calculate work (KJ) and Power (W) when jogging on a treadmill? The following is known... The Weight of the Person, The Angle/grade of the Treadmill, The Time that they are on the treadmill, The velocity of the treadmill. How do I calculate Work in Kilojules and Power in Watts after my workout (which may vary in time, grade, velocity and distance? (my weight is not moving too much!!!).

Lets work an example, which provide the equations.

* Vertical displacement = % grade x Distance
* Treadmill speed = $200$ m/min
* Percent Grade = $7.5\% ~\text{or}~ 0.075$
* Exercise time = $10$ mins
* Total vertical distance traveled $= 200$ m/min $\times 0.075 x 10$ mins = $150 m$
* Work = body weight (kg) x total vertical distance traveled = $70 kp \times 150 m = 10,500$ kpm or ~$103$ kilojoules
* Power = work / minutes = $10,500 kpm / 10$ mins = $1050$ kpm/min or Watts

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 78029c774273c6b062a26ab9f9201b16