The height of the pedal off the ground can be modeled by a cosine function
![h(\theta)=\text{ 18 - 7}\cos (\theta+(\pi)/(2))](https://img.qammunity.org/2023/formulas/mathematics/college/c96877336j7ueyqqcs7nj4j4ilfug6gdtb.png)
Let, us try some scenarios, if the pedal is at the 3 oclock position, the angle = 0
h= 18-7cos90 = 18 - 0 = 18 inches.
If the pedal is at 12 oclock, the angle is pi/2 or 90 degrees, and
h= 18 - 7cos180 = 18+7 = 25 inches.