Oscillations of a mass-spring system

A ball with a mass of  kg and a radius of  cm is attached to a linear spring and oscillates with a motion that is described by $x(t) = A\cos (\omega t)$. Here $A$ is the amplitude of the motion and $\omega$ is the angular frequency. The force on the ball is $F=-kx$ [N] where $k$ is the spring constant and $x$ is the distance from the equilibrium point. When the ball moves past the equilibrium point at $x=0$, it is moving at  cm/s. After the ball passes the equilibrium point, it slows down and then stops before reversing direction and traveling back towards the equilibrium point. When the ball has zero velocity, it is  cm from the equilibrium point.

What is the spring constant of the spring and what is the oscillation frequency in cycles per second? Neglect friction.

$k=$  [N/m] $f=$  [Hz]