Answer:
Step-by-step explanation:
Given
Mechanical Energy of Spring-Block system is 1 J
Maximum Amplitude is

maximum speed

Suppose
be general equation of motion of spring-mass system
where A=max amplitude
=Natural frequency of oscillation
t=time



maximum kinetic Energy must be equal to total Mechanical Energy when spring is un deformed i.e. at starting Position


Also
is also given by


where k= spring constant

