How do you draw the graph of #y=2-cosx# for #0<=x<2pi#?
1 Answer
See below
Explanation:
This excercise involves function transformations. It means that you start from a function whose graph is known, and tranform it. Let's see what the transformations are and how they affect the graph:
Transformation 1: sign change
As a first step, we change from
Original function
graph{cos(x) [-0.2,6.48,-1.2,3.2]}
Reflected function
graph{-cos(x) [-0.2,6.48,-1.2,3.2]}
Transformation 2: vertical shift
The next transformation is represented by an additive constant: you change from
Original function
graph{-cos(x) [-0.2,6.48,-1.2,3.2]}
Shifted function
graph{-cos(x)+2 [-0.2,6.48,-1.2,3.2]}