The moment in which both energies will have the same value, will be the moment in which in the path of the amplitude of the spring mass system, it is in the middle, that is to say if the two forces are equivalent
[tex]KE = U[/tex]
they are in balance when,
[tex]K = \frac{E}{2} \text{ and }U = \frac{E}{2}[/tex]
Therefore replacing the definition of Elastic potential energy for a Spring-Mass system, we have that
[tex]U = \frac{1}{2} kx^2 = \frac{1}{4} kA^2[/tex]
Here,
k = Spring constant
x = Displacement
A = Amplitude
Rearranging to find the displacement:
[tex]x = \frac{A}{\sqrt{2}}[/tex]