Complete Question
An object suspended from a spring vibrates with simple harmonic motion.
a. At an instant when the displacement of the object is equal to one-half the amplitude, what fraction of the total energy of the system is kinetic?
b. At an instant when the displacement of the object is equal to one-half the amplitude, what fraction of the total energy of the system is potential?
Answer:
a
The fraction of the total energy of the system is kinetic energy 
b
The fraction of the total energy of the system is potential energy 
Explanation:
From the question we are told that
The displacement of the system is 
where a is the amplitude
Let denote the potential energy as PE which is mathematically represented as

=> ![PE = \frac{1}{2} * k* [\frac{a}{2} ]^2](https://tex.z-dn.net/?f=PE%20%20%3D%20%5Cfrac%7B1%7D%7B2%7D%20%2A%20k%2A%20%5B%5Cfrac%7Ba%7D%7B2%7D%20%5D%5E2)
![PE = k* [\frac{a^2}{8} ]](https://tex.z-dn.net/?f=PE%20%20%3D%20k%2A%20%5B%5Cfrac%7Ba%5E2%7D%7B8%7D%20%5D)
Let denote the total energy as T which is mathematically represented as

Let denote the kinetic energy as KE which is mathematically represented as

=> ![KE =k [ \frac{a^2}{2} - \frac{a^2}{8} ]](https://tex.z-dn.net/?f=KE%20%3Dk%20%5B%20%5Cfrac%7Ba%5E2%7D%7B2%7D%20%20-%20%5Cfrac%7Ba%5E2%7D%7B8%7D%20%5D)
=> ![KE =k [ \frac{3}{8} a^2 ]](https://tex.z-dn.net/?f=KE%20%3Dk%20%5B%20%5Cfrac%7B3%7D%7B8%7D%20a%5E2%20%20%5D)
Now the fraction of the total energy that is kinetic energy is


Now the fraction of the total energy that is potential energy is

