A particle is projected vertically upwards from a point O on horizontal ground which reaches the maximum height Q. What is the energy associated at O and Q?