A mass of 0.2 kg attached to a spring oscillates on a frictionless horizontal surface. Its motion is described by x = 0.05 m cos(50 rad/s t + 1.57 rad). Find
a) the frequency and period;
b) the maximum velocity and acceleration;
c) the force constant and the mechanical energy.