$$KE = \frac{1}{2}mv^2$$
where:
* KE is kinetic energy in joules (J)
* m is mass in kilograms (kg)
* v is velocity in meters per second (m/s)
Potential energy is the energy stored in a system due to its position or configuration. It is defined as the work that an external force would have to do on a system in order to move it from its initial position to a final position. The formula for potential energy is:
$$PE = mgh$$
where:
* PE is potential energy in joules (J)
* m is mass in kilograms (kg)
* g is acceleration due to gravity (9.8 m/s²)
* h is height in meters (m)
The main difference between kinetic and potential energy is that kinetic energy is the energy of motion, while potential energy is the energy stored in a system due to its position or configuration. Kinetic energy is always positive, while potential energy can be positive or negative.