Step-by-step explanation:
The gravitational potential energy is given by :
P = mgh
The kinetic energy of an object is given by :
As the ball reaches the bottom of the ramp, its potential energy decreases and kinetic energy increases.
It imply that, when the ball at the top most height, its gravitational potential energy is maximum and zero kinetic energy and when ball reaches the bottom of the ramp, it will have maximum kinetic energy and zero potential energy.