Question 1188590
the basic form of the graph of the cosine function is y = a * (b * (x - c)) + d.
a is the amplitude.
b is the frequency
c is the horizontal shift
d is the vertical shift.


the frequency is equal to 360 divided by the period.


if the period is 180, then the frequency is 360 / 180 = 2.


the equation becomes y = a * (2 * (x - c)) + d.


i think you mean -4 <= y <= 2.


the graph of y usually has the negative value of y below the positive value of y.
i haven't seen it the other way around.


since the range of y is from -4 to 2, then the total distance from the bottom of the cosine function to the top of the cosine function is 6.
the center line of the cosine function therefore has to be in the middle, i.e. 3 from the top and 3 from the bottom.
that  puts the center line of the horizontal line equal to -1.
that makes d equal to 1.


the formula becomes y = a * (2 * (x - c)) - 1


it also makes the amplitude 6/3 = 3 because the amplitube is the distance from the horizontal center line of the graph.


the formula becomes y = 3 * (2 * (x - c)) - 1.


here does not appearw to be a horizontal shift, therefore c = 0 and is not shown.


the formula becomes y = 3 * (2 * x) + 1.


here's what the graph looks like.


<img src = "http://theo.x10hosting.com/2021/120801.jpg" >


most of the reference use radians rather than degrees.


here's what the graph looks like in radians.


<img src = "http://theo.x10hosting.com/2021/120802.jpg" >


the formula to convert from radians to degrees is degrees = radians * 180 / pi.


the formula to convert from degrees to radians is radians = degrees * pi / 180.


here's a reference on graph of the sine and cosine functions.


<a href = "https://mathbitsnotebook.com/Algebra2/TrigGraphs/TGsinusoidal.html" target = "_blank">https://mathbitsnotebook.com/Algebra2/TrigGraphs/TGsinusoidal.html</a>


here's another one.


<a href = "https://www.purplemath.com/modules/grphtrig.htm" target = "_blank">https://www.purplemath.com/modules/grphtrig.htm</a>


let me know if you have any questions.


looking at what you had versus what i have, your c looks to be my d.
i could be wrong, but i didn't see any d in your version.


theo