You are on page 1of 5

Funkcije

In[1]:= f1 [x_] := (x ^ 2 + x + 1) / (x ^ 3 - x)

In[51]:= Plot [f1 [x], {x, - 3, 3}]


15

10

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

-5

-10

-15

In[53]:= f1 [0]
1
Power : Infinite expression encountered .
0
Out[53]//TraditionalForm=

ComplexInfinity

In[2]:= FunctionDomain [f1 [x], x]


Out[2]= x < - 1 || - 1 < x < 0 || 0 < x < 1 || x > 1

In[3]:= Plot [f1 [x], {x, - 3, 3}, ExclusionsStyle → {Red }]


15

10

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

-5

-10

-15
2

In[4]:= f2 [x_] := ArcSin [x / (1 + x)]; Plot [f2 [x], {x, - 2, 3}, PlotRange → 4]
4

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

-2

-4

In[5]:= f2 [- 1]
1
Power : Infinite expression encountered .
0

Out[5]= ComplexInfinity

In[6]:= Df2 = FunctionDomain [f2 [x], x]


1
Out[6]= x≥-
2

In[7]:= Kf2 = FunctionRange [f2 [x], x, y]


π π
Out[7]= - ≤ y <
2 2
3

In[10]:= slika1 = Plot [{f2 [x], - Pi / 2, Pi / 2},


{ x, - 2, 3} , PlotStyle → { Red, Dashed , Dashed } , PlotRange → 4]

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

-2

-4

In[11]:= slika2 = RegionPlot [Df2 && Kf2, {x, - 2, 3}, {y, - 4, 4}]
4

0
Out[11]=

-2

-4
-2 -1 0 1 2 3
4

In[12]:= Show [slika1 , slika2 ]


4

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

-2

-4

Limesi

In[13]:= Limit [Sin [x] / x, x → 0]


Out[13]= 1

In[14]:= Limit [Sin [x] / x ^ 2, x → 0]


Out[14]= Indeterminate

In[15]:= Information [Indeterminate ]

Symbol

Indeterminate is a symbol that represents a

numerical quantity whose magnitude cannot be determined .


Out[15]=

Attributes {Protected }
Full Name System`Indeterminate

In[16]:= Limit [Sin [x] / x ^ 2, x → 0, Direction → "FromAbove "]


Out[16]= ∞

In[17]:= Limit [Sin [x] / x ^ 2, x → 0, Direction → "FromBelow "]


Out[17]= -∞

In[18]:= Limit [(1 + 2 x) ^ (1 / x), x → 0]


2
Out[18]= ⅇ

In[19]:= Limit [x ^ a, x → Infinity ]

Out[19]= ∞ if a > 0
5

In[20]:= Limit [x ^ a, x → Infinity , Assumptions → a < 0]


Out[20]= 0

In[21]:= Limit [x ^ a, x → Infinity , Assumptions → a == 0]


Out[21]= 1

You might also like