Suppose you have a mass (m) attached to a spring with constant (k). The mass rests on a horizontal frictionless surface. Its equilibrium position is at x=0. It is pulled aside a distance (A) and released. What is the speed of the mass as it passes the position x=A/2 (in terms of k,m, and A)?