SOLUTION: Determine the equation of a cosine function for the following graph of a sinusoidal function: https://gyazo.com/80871eaf3fe6163e135f3fbce5538d74

Algebra.Com
Question 1202196: Determine the equation of a cosine function for the following graph of a sinusoidal function:
https://gyazo.com/80871eaf3fe6163e135f3fbce5538d74

Found 2 solutions by ikleyn, math_tutor2020:
Answer by ikleyn(52835)   (Show Source): You can put this solution on YOUR website!
.
Determine the equation of a cosine function for the following graph of a sinusoidal function:
https://gyazo.com/80871eaf3fe6163e135f3fbce5538d74
~~~~~~~~~~~~~~~~


The function is sinusoidal.


The minimum value is -3.5; the maximum value is 1.5.


Hence, the midline is the arithmetic mean  y=  =  = -1,

and the amplitude is 1.5-(-1) = 2.5. 


Next, the function has the maximum at x= 0; it means that the function's pattern 
is cosines without a phase shift.


The period, as it is seen from the plot, is 180 units, so the function can be written in the form

    y(x) = -1 + ,

or, which is the same,

    y(x) = -1 + .

Solved.



Answer by math_tutor2020(3817)   (Show Source): You can put this solution on YOUR website!

Answer: y = 2.5*cos(2x)-1
This is when you are in degree mode.


=============================================================================


Explanation:

The image from the question is this


The template for cosine is
y = A*cos(B(x-C))+D

The variables are:
|A| = amplitude
B = helps determine the period, more on that later
C = phase shift, which is the side to side shift
D = up and down shift, useful to determine midline

The goal is to determine the values of A, B, C, and D.

-----------------------------

Let's start with A.

The amplitude is half of the height of the sine wave.
The peak occurs when y = 1.5 and the valley is when y = -3.5; these represent the largest and smallest possible y values respectively.

Subtract and use absolute value to find the vertical distance between peak and valley.
|peak - valley| = |1.5 - (-3.5)|
|peak - valley| = |1.5 + 3.5|
|peak - valley| = |5|
|peak - valley| = 5

Or you could say
|valley - peak| = |-3.5 - 1.5|
|valley - peak| = |-5|
|valley - peak| = 5

The vertical distance from peak to valley is 5 units.
Half of this is 5/2 = 2.5 and it is the amplitude.

|A| = 2.5 leads to either A = 2.5 or A = -2.5
We use A = 2.5 because the cosine graph is above the x axis when x = 0.

-----------------------------

Now onto the variable B.

This variable is tied to the period.
The period is the length of each cycle, aka wavelength.

One peak occurs at x = 0
The next neighboring peak to the right is when x = 180
This is a gap of 180-0 = 180 units
The period is 180 because the curve repeats itself every 180 units.

T = 180 = period
B = 2pi/T
B = 2pi/180
B = pi/90
That would be the value of B if we are in radian mode.

However, the next set of steps show a much nicer result for B when in degree mode.
B = 360/T
B = 360/180
B = 2

Because the x axis shows 90,180,270,etc it appears your teacher might want degree mode.

-----------------------------

The phase shift is C = 0 because cosine has x = 0 lead to a peak. We haven't shifted the peak left or right off the y axis.

I recommend using a graphing tool like Desmos to look at y = cos(x) to see what I mean.
GeoGebra is another handy graphing tool I use all the time.

-----------------------------

The midline is y = D to represent the horizontal line cutting through the middle of this cosine curve.

Apply the midpoint of the peak and valley
(peak+valley)/2 = (1.5+(-3.5))/2 = -2/2 = -1

The midline is y = -1 and we get D = -1

-----------------------------

Summary
A = 2.5
B = 2 (when in degree mode)
C = 0
D = -1

Then
y = A*cos(B(x-C))+D
y = 2.5*cos(2(x-0))+(-1)
y = 2.5*cos(2x)-1
This is when your calculator is in degree mode.

Graph using Desmos
https://www.desmos.com/calculator/ju2jkpfbkq

RELATED QUESTIONS

What is the range of the function given by the following graph? link to graph:... (answered by Boreal)
Is this the graph of a reciprocal function of a linear or a quadratic function? State... (answered by MathLover1)
State the domain and range of the relation shown. Is the relation a function? Explain. (answered by MathLover1)
What is the range of the function given by the following graph, and how did you figure it (answered by Edwin McCravy,mccravyedwin)
What is the amplitude of the sinusoidal function?... (answered by ikleyn)
Determine the exact value of cos19π/12. Link to equation composition:... (answered by ikleyn)
Given the graph below, determine a sine function and cosine function that can be used to... (answered by math_tutor2020,greenestamps)
For the following table of data, determine an equation of a cosine function that... (answered by greenestamps)
Describe the transformations that take the graph of f(x)=log4 x to the graph of g(x) =... (answered by greenestamps)