Gravitational potential energy is defined as the "energy of an object due to Earth's gravity".OR it is the product of…