A mass "m = 2 kg" is connected to a spring with spring constant "k= 5 N/m " on a frictionless table oscillation only in 1-D (x direction) . The equation of motion for the mass is given by the equation m (d^2 x(t)/ dt^2) = -kx(t) . The initial conditions are at t = 0 , x = 3 cm ; and at t=0 dy/dt = 0.
Find the position as a function of time x(t) and then calculate the position of the mass at time t = 5 sec from start