Amplitude = A
Total Energy of SHM = E =
Let the spring constant be k
Potetial energy when displacement from equilibrium position is x
Potetial energy when displacement from equilibrium position is half the amplitude = U1
Kinetic energy when displacement from equilibrium position is half the amplitude = K1 = E - U1
Potetial energy when displacement from equilibrium position is one-fourth the amplitude = U2
Kinetic energy when displacement from equilibrium position is one-fourth the amplitude = K2 = E - U2