t - Time elapsed

x₀ - Initial displacement from the equilibrium

v₀ - Initial velocity

k - Spring constant

m - Mass of the ball

F