The correct option (B) (1/2) mω2 A2 + (1/2) ky2
Explanation:
When block of mass m is suspended from a spring having spring constant k, length increases by y.
∴ potential energy gained by spring = (1/2) ky2
when system executes SHM, energy gained by system = (1/2) mω2 A2
∴ Total find energy of system = (1/2) mω2 A2 + (1/2) ky2