Carrie is holding onto the end of a spring that is attached to a weight. As she moves her hand slightly up and down, the weight moves up and down. With a little concentration, she can repeatedly get the weight to reach a maximum height of 20 cm and a minimum height of 4 em from the top of a surface. The first maximum height occurs at 0.2 s and the first minimum height occurs at 0.6 s.
a) Determine the equation of the cosine function that represents the height of the weight in terms of time,
b) When does the ball reach 14 cm in the first cycle? Round answers to 3 decimal places.