A projectile of mass m is moving in the vertical x-y plane with the origin on the ground and y-axis pointing vertically up. Taking the gravitational potential energy to be zero on the ground, the total energy of the particle written in planar polar coordinates (r, θ) is (here g is the acceleration due to gravity)