Given data:
The position function of spring is s(t)=4sin(2t).
By differentiating the given position function with respect to time is the velocity of the system. It can be calculated as,
The acceleration of the system can be calculated by differentiating above velocity function with respect to time,
The velocity at t=2 s will be,
The acceleration at t=2 will be,
Thus, the velocity and acceleration at t=2 is -5.23 m/s and -12.1 m/s² respectively.