A spring (k = 100 N/m), which can be stretched or compressed, isplaced on a frictionless table. A 5.00-kg mass is attached to oneend of the spring, and the other end is anchored to the wall. Theequilibrium position is marked at zero. A student moves the massout to x = 4.0 cm and releases it from rest. The mass oscillates insimple harmonic motion. (a) Determine the function x(t). (b) Findthe magnitudes of maximum velocity and maximum acceleration. (c)Find the total energy of the oscillator. (d) Find the position,velocity, and acceleration of the mass at time t = 3.00 s.