How do you graph y=2+sin(1/2x)?
1 Answer
Draw a sine wave with twice the wavelength. Then shift it UP two units.
Explanation:
You know what the graph of
- when
x is0, y = 0 - when
x ispi/2, y=1 - when
x ispi, y=0 - when
x is(3*pi)/2, y=-1 - when
x is2*pi, y=0
graph{sin(x) [-10, 10, -5, 5]}
So now, for
- when
x is0, x/2 is0 , y= 0 - when
x ispi, x/2 ispi/2, y= 1 - when
x is2 * pi, x/2 ispi , y= 0 - when
x is3 * pi, x/2 is(3*pi)/2 , y= -1 - when
x is4 * pi, x/2 is2 * pi , y= 0
So, it's the same sine wave, but stretched out.
Now, since your function is
- when
x is0, y= 2 - when
x ispi, y= 3 - when
x is2 * pi, y= 2 - when
x is3 * pi, y= 1 - when
x is4 * pi , y= 2
graph{2 + sin(x/2) [-10, 10, -5, 5]}