Calculate the period of a mass on a spring: T = 2π√(m/k). k is the spring constant in N/m.
T = 2π√(m/k) = 2π√(0.5/20) = 0.9935 s