2. A mass is supported by a spring so that it is at rest 0.5 m above a tabletop. The mass is pulled down 0.4 m and released at time t = 0, creating a periodic up and down motion that can be modelled using a trigonometric function. It takes 1.2 seconds to return to the lowest position each time.
Write an equation for the function