Raymond B. answered 5d
Math, microeconomics or criminal justice
max displacement = 5 centimeters
period = pi = about 3.141593... seconds = about 3 seconds
frequency = inverse = 1/pi = about 0.31831 hz
equation that fits is a GP with r = common ratio
an = a1(r^n -1)/(r-1) with a1 = 1/2, an = the length of the nth oscilation which approaches zero as n gets ever larger
but the problem says simple harmonic motion which contradicts the other info
so use a sinusoidal function h(t) = Asin(2pit/B + C) + D where A = Amplititude = (max -min)/2
D = midline = (max+min)/2 = vertical shift, B = period, C= horizontal shift
this also contradicts basic physics as it becomes a perpetual motion machine
Raymond B.
so you claim the motion continues forever? a veritable perpetual motion machine. It never comes to rest again? seriously?5d