Primjer 1: Izračunajte nul-točke polinoma  p(x)=x^3+2x^2-3x+5

In[8]:=

Solve[x^3 + 2x^2 - 3x + 50, x]

Out[8]=

{{x1/3 (-2 - 13 (2/(205 - 3 3693^(1/2)))^(1/3) - (1/2 (205 - 3 3693^(1/2)))^(1/3))}, { ... (205 - 3 3693^(1/2)))^(1/3) + (13 (1 +  3^(1/2)))/(3 2^(2/3) (205 - 3 3693^(1/2))^(1/3))}}

In[9]:=

NSolve[x^3 + 2x^2 - 3x + 50, x]

Out[9]=

RowBox[{{, RowBox[{RowBox[{{, RowBox[{x, , RowBox[{-, 3.34417}]}], }}], ,, RowBox[{{,  ...  , RowBox[{RowBox[{0.672086, }], +, RowBox[{1.02149,  , }]}]}], }}]}], }}]


Created by Mathematica  (February 23, 2006)