Explanation:
We have to first obtain the unit of each of the individual energies.
Kinetic Energy
E = 1/2 mv²
The units are;
mass, m = Kg
Velocity, v = m⋅s−1
This means that;
E = Kg * (m⋅s−1)²
E = kg m² / s²
Gravitational Potential Energy
Pe = mgh
The units are;
mass, m = Kg
acceleration due to gravity, g = m/s²
height, h = m
E = Kg * m/s² * m
E = kg m² / s²
Comparing both units, we can tell that they are the same.