Draw a graph of g(x)=f(x)+2 where f(x)=cos x

Answer :

The graph of g(x) = f(x) + 2 is the graph of f(x) = cos x translated vertically up by 2 units.

The graph (red) of f(x) is shown.

The required graph (Blue) of g(x) = f(x) + 2 is shown:

View image HAGARP668749
View image HAGARP668749