A weight is attached to a spring and is suspended from a ceiling so that it lies 30 cm from the ceiling when it is at rest. The spring is stretched so that the weight is 38 cm from the ceiling and is then released. It bounces up and down for a while. Each time is comes to bottom of its bounce, the length of the stretch is 75% of the previous stretch.
a) The period of each oscillation (bounce) of the weight is 1/2 second. Write an equation that represents the distance from the weight to the ceiling.