For the particle executing SHM of the displacement x is given by x = A cos t. Identify which represents variation of potential energy as a function of time t and displacement x.
That is at t = 0 potential energy is maximum and potential energy a x2. So choice is I and II.