You are on page 1of 1

Práctica 2.

2
1.a)

In[1]:= Solve[x^3 - x^2 - x - 1 ==0]


Out[1]= {{x->1.84\[Ellipsis]},{x->-0.420\[Ellipsis]-0.606\[Ellipsis] I},{x->-0.420\
[Ellipsis]+0.606\[Ellipsis] I}}
b)
In[8]:= Solve[x^4 +2*X^3 - X - 1 ==0]
Out[8]= {{X->1/(6^(1/3) (9-9 x^4+Sqrt[3] Sqrt[25-54 x^4+27 x^8])^(1/3))+(9-9
x^4+Sqrt[3] Sqrt[25-54 x^4+27 x^8])^(1/3)/6^(2/3)},{X->-((1+I Sqrt[3])/(2 6^(1/3)
(9-9 x^4+Sqrt[3] Sqrt[25-54 x^4+27 x^8])^(1/3)))-((1-I Sqrt[3]) (9-9 x^4+Sqrt[3]
Sqrt[25-54 x^4+27 x^8])^(1/3))/(2 6^(2/3))},{X->-((1-I Sqrt[3])/(2 6^(1/3) (9-9
x^4+Sqrt[3] Sqrt[25-54 x^4+27 x^8])^(1/3)))-((1+I Sqrt[3]) (9-9 x^4+Sqrt[3]
Sqrt[25-54 x^4+27 x^8])^(1/3))/(2 6^(2/3))}}
c)
In[9]:= Solve[x^4 + 2==0]
Out[9]= {{x->-(-2)^(1/4)},{x->-I (-2)^(1/4)},{x->I (-2)^(1/4)},{x->(-2)^(1/4)}}
2.a)
In[10]:= NSolve[2*x*Log[x]==1]
Durante la evaluaci\363n de In[10]:= NSolve::ifun: Inverse functions are being used
by NSolve, so some solutions may not be found; use Reduce for complete solution
information.
Out[10]= {{x->1.42153}}
b)
In[2]:= Plot[Exp[-x] == Sin[x^3]^2,x]
Durante la evaluaci\363n de In[2]:= Plot::pllim: Range specification x is not of
the form {x, xmin, xmax}.
In[6]:= Plot[{Exp[-x],Sin[x^3]^2},{x,-2,2}]
Out[6]=
FindRoot[Exp[-x]- Sin[x^3]^2, {x,1.40}]
Out[12]= {x->1.3778}
3.a)
In[20]:= Plot[{Log[x]==1},{x,-2,2} ]
Out[20]=
In[26]:= FindRoot[Log[x]-1, {x,2}]
Out[26]= {x->2.71828}

You might also like