Let"s say we have a mass hanging at rest from a spring. The spring pulls up on the mass so that it does not accelerate. This spring force from the spring (also known as a restoring force, fspring) will resist wither a compression or a stretching. In general, each spring will have a different resistance to a certain displacement. Hooke"s law gives the value of the restoring force as a function of displacement where k is a constant of proportionality also known as the spring constant (units of k are [n/m]). The minus sign in hooke"s law is to show that the restoring force is opposite in direction to the displacement vector. Please not that the restoring force in hooke"s law is not constant, as we increase displacement the restoring force will increase linearly. Periodic motion is the motion of an object that regularly repeats. The object returns to a given position after a fixed time interval.