How do you graph # y=5-cosx#?

1 Answer
Oct 9, 2016

graph{5-cosx [-10, 10, 3, 7.5]}

Explanation:

First think about the graph of #y=cosx#, which is as follows:
graph{cosx [-10, 10, -1.5, 1.5]}

So then the graph of #y=-cosx# will be the above graph inverted:
graph{-cosx [-10, 10, -1.5, 1.5]}

And so #y=5-cosx# will be the above graph moved 5 units up
graph{5-cosx [-10, 10, 3, 7.5]}