functions in one graph for x between -2 and 2 with 100
samples.
yl-2.5x-2
y2-x^4-6
a) Turn the grid on the graph.
b) Add the title as "two functions plot".
c) Add the x-label as 'x' and y-label as 'y'.
d) Find the approximate coordinate of the points where
yl collide with y2. What is the meaning of these
points?
e) Plot the points (found in part d) on the graph of the
two functions with red color and symbol.
f) Add the label to each plot and display the legend.
g) Your result should be as shown below.
75-
3.0
2.5-
aa-
-3.5
Two functions plot
31
point 2
-20-15-10-05 00 05 10 15 20
Save the python program for this question under
"MidtermQ2.py"
Fig: 1