If A is the amplitude of particle executing simple harmonic motion, then the total energy E of the particle is___________________?
A. proportional to A
B. proportional to A2
C. proportional to 1/A2
D. independent of A