The cosine function is:
To write a cosine function with a midline of 2, an amplitude of 3, and a period of
, you can use the general form of a cosine function:
In this case:
- The midline is 2, which means D = 2 .
- The amplitude is 3, which means |A| = 3 . We'll choose A = 3 since cosine is an even function.
- The period is
, which means
Solving for B :
So,
- We don't need to shift the graph left or right, so C = 0 .
Now, we can write the cosine function:
This function has a midline of 2, an amplitude of 3, and a period of