You are on page 1of 7

Section 3.2, 3.

3
In[1]:= f[x_] := x ^ 2 - 2 * x + 4

In[2]:= f[x]
Out[2]= 4 - 2 x + x2

In[3]:= Plot [f[x], {x, - 1, 3}]

Out[3]= 5

-1 1 2 3

In[4]:= Plot [f[x], {x, 1.9, 2.1 }]

4.2

4.1

Out[4]=
4.0

3.9

1.95 2.00 2.05 2.10


2

In[5]:= Plot [f[x], {x, 1.99, 2.01 }]


4.02

4.01

Out[5]= 4.00

3.99

1.995 2.000 2.005 2.010

In[6]:= Plot [(x ^ 5 - 4 * x ^ 2 + 1) / (x - 1 / 2), {x, - 3, 3}]

80

60

40
Out[6]=

20

-3 -2 -1 1 2 3

-20

In[9]:= Plot [x ^ (1 / 3), {x, - 8, 8}]

2.0

1.5

Out[9]= 1.0

0.5

-5 5
3

In[13]:= Plot [realpower [x ^ (1 / 3)], {x, - 8, 8}]

1.0

0.5

Out[13]=
-5 5

-0.5

-1.0

In[14]:= Plot [(x ^ 5 - 4 * x ^ 2 + 1) / (x - 1 / 2), {x, - 3, 3}, PlotRange → Full ]

80

60

40
Out[14]=

20

-3 -2 -1 1 2 3

-20

In[16]:= Plot [(x ^ 5 - 4 * x ^ 2 + 1) / (x - 1 / 2), {x, - 3, 3}, PlotRange → {- 5, 10 }]


10

Out[16]=
2

-3 -2 -1 1 2 3

-2

-4
4

In[17]:= Plot [(x ^ 5 - 4 * x ^ 2 + 1) / (x - 1 / 2), {x, - 3, 3}, PlotRange → 5]

Out[17]=
-3 -2 -1 1 2 3

-2

-4

In[18]:= Plot [(x ^ 5 - 4 * x ^ 2 + 1) / (x - 1 / 2), {x, - 3, 3}, PlotRange → 10 ]


10

Out[18]=
-3 -2 -1 1 2 3

-5

-10

In[19]:= Plot [2 * (x - 4) ^ 2 + 1, {x, 3, 5}]


3.0

2.5

Out[19]= 2.0

1.5

3.5 4.0 4.5 5.0


5

In[20]:= Plot [Exp [x], {x, 0, 2}]

Out[20]=
4

0.5 1.0 1.5 2.0

In[21]:= Plot [Exp [x], {x, 0, 2}, AspectRatio → Automatic ]

Out[21]=
4

0.5 1.0 1.5 2.0


6

In[26]:= Plot [Exp [x], {x, 0, 2}, AspectRatio → 3]

Out[26]=
4

0.5 1.0 1.5 2.0

In[29]:= Plot [Exp [x], {x, 0, 2}, AspectRatio → 1 / 2, PlotRange → {0, 5}]
5

Out[29]=

0.0 0.5 1.0 1.5 2.0


7

In[31]:= Plot [2 * (x - 4) ^ 2 + 1, {x, 3, 5}, AxesOrigin → {0, 0}]


3.0

2.5

2.0

Out[31]= 1.5

1.0

0.5

1 2 3 4 5

In[32]:= Plot [2 * (x - 4) ^ 2 + 1, {x, 3, 5}]


3.0

2.5

Out[32]= 2.0

1.5

3.5 4.0 4.5 5.0

You might also like