Question
Question: How do you draw the graph of \( y = 1 + \sin x \) for \( 0 \leqslant x \leqslant 2\pi \) ?...
How do you draw the graph of y=1+sinx for 0⩽x⩽2π ?
Solution
Hint : A graph of a function f is the set of ordered pairs; the equation of graph is generally represented as y=f(x) , where x and f(x) are real numbers. We substitute the value of x and we determine the value of y and then we mark the points in the graph and we join the points.
Complete step-by-step answer :
Here, in the given question, we have to plot the graph for the given function. A graph of a function is a set of ordered pairs and it is represented as y=f(x) , where x and f(x) are real numbers. These pairs are in the form of cartesian form and the graph is the two-dimensional graph.
First, we have to find the value of y by using the graph equation y=1+sinx and then limit the portion of the graph where x lies from 0 to 2π as we are given the condition 0⩽x⩽2π .
Let us substitute the value of x as 2π .
⇒y=1+sin(2π)
Since we know that the value of sin2π is 1 .
⇒y=1+1
⇒y=2
Now, let us consider the value of x as 0 .
⇒y=1+sin(0)
Since we know that the value of sin0 is 0 .
⇒y=1
Now we consider the value of x as (6π) , the value of y is
⇒y=1+sin6π
Since we know that the value of sin6π is 21 .
⇒y=23
Now we draw a table for these values we have
x | 2π | (6π) | 0 |
---|---|---|---|
y | 2 | 23 | 1 |
We also know the nature of the graph of sine function. Hence, we can now plot the graph of the given function y=1+sinx using graphical transformation. The graph plotted for these points is represented below:
Note : The graph is plotted x-axis versus y axis. The graph is two dimensional. By the equation of a graph, we can plot the graph by assuming the value of x. We can’t assume the value of y. because the value of y depends on the value of x. Hence, we have plotted the graph of y=1+sinx for 0⩽x⩽2π