Hamiltonian for a particle in a central force field and obtaining equation of motion of the particle

In a central force field, force is always directed towards the centre. Potential energy is conservative so that Hamiltonian represents the total energy.

As the motion is always confined in a plane, we consider it in r, coordinates. Kinetic energy is

This note is taken from Classical mechanics, MSC physics, Nepal.