Lesson 8 of 15
Gravitational Potential Energy
Gravitational Potential Energy
An object at height above a reference level has gravitational potential energy:
- — mass in kg
- — 9.81 m/s² (gravitational acceleration)
- — height above reference level in metres
Conservation of Energy
In the absence of friction, mechanical energy is conserved:
This means PE converts to KE as an object falls, and vice versa as it rises. A ball dropped from height reaches the ground with speed:
Examples
| (kg) | (m) | PE (J) |
|---|---|---|
| 10 | 5 | 490.5 |
| 1 | 10 | 98.1 |
| 5 | 20 | 981.0 |
| 70 | 2 | 1373.4 |
Your Task
Implement gravPE(m, h) returning gravitational potential energy in Joules.
TCC compiler loading...
Loading...
Click "Run" to execute your code.