Graphics Programs Reference
In-Depth Information
1
0.8
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
Because of the wild oscillation near x = 0, neither plot nor ezplot
gives a totally accurate graphof the function.
(c)
ezplot('tan(x/2)', [-pi pi]); axis([-pi, pi, -10, 10])
tan(x/2)
10
8
6
4
2
0
-2
-4
-6
-8
-10
-3
-2
-1
0
1
2
3
x
(d)
X = -2:0.05:2;
plot(X, exp(-X.ˆ2), X, X.ˆ4 - X.ˆ2)
Search WWH ::




Custom Search