The period of oscillation of a 4-kg block hanging on a vertical spring is 6 seconds. Calculate the spring constant.