# How do you graph  y=5-cosx?

Oct 9, 2016

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

#### Explanation:

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

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

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