Question 2 On a new script; a) (i) Create a variable x, ranging from 0 to 2*pi
Fantastic news! We've Found the answer you've been seeking!
Question:
Question 2
On a new script;
a)
(i) Create a variable x, ranging from 0 to 2*pi having 40 elements/points
b)
(ii) Plot y1 = sin(x)
(iii) Add a title and axis labels to your graph. (iv) Plot y2 = cos(x).
(v) Add a title and axis labels to your graph.
(vi) Plot both y1 & y2 on the same graph. y1 should appear cyan with dotted lines while y2 should
appear green with starred lines.
(vii) Add a title and axis label to your graph.
(i) Create a subplot that will plot y1 against x on the first, y2 against x, y1 & y2 against the x on the third and y3=tan(x) against x on the fourth
(ii) Add a color and symbol to each subplot.
(iii) Add a comment beside each plot command.
Related Book For
Posted Date: