To plot the graphs of y = 3-x and y = 3tan(x) on the same plane, we can start by creating a table of values for x and calculating the corresponding y-values for each equation.
Let's start with the first equation, y = 3 - x:
x | y
--------
-3 | 6
-2 | 5
-1 | 4
0 | 3
1 | 2
2 | 1
3 | 0
Now, let's calculate the values for y = 3tan(x):
x | y
---------
-π | 0
-π/2 | undefined (as tan(-π/2) = ∞)
0 | 0
π/2 | undefined (as tan(π/2) = ∞)
π | 0
3π/2 | undefined (as tan(3π/2) = ∞)
2π | 0
Note: The tan function is undefined at odd multiples of π/2, so we have undefined y-values for those x-values.
Now, let's plot the points for each equation and draw the lines:
For y = 3 - x:
Plot the points (-3, 6), (-2, 5), (-1, 4), (0, 3), (1, 2), (2, 1), (3, 0) and draw a straight line passing through these points.
For y = 3tan(x):
Plot the points (-π, 0), (0, 0), (π, 0), (2π, 0) and draw a straight line passing through these points. However, note that the points (-π/2, undefined) and (π/2, undefined) should not be plotted.
The resulting graph should show both lines on the same plane.
Plot the graph of y=3-x and y= 3 tan x on the same plane
1 answer