How to interprete output of solve function ?

2 vues (au cours des 30 derniers jours)
andrea
andrea le 15 Juin 2020
Modifié(e) : madhan ravi le 15 Juin 2020
Hello, I'm trying to solve with math tool box a non liner equation :
with the code
syms x
solve ( x^2-(1+x)^2 + x^2*(1+x)^2 )
The output I can't understand is :
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 1)
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 2)
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 3)
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 4)
How shoul I interpret this ? I would like somthing more like a numeric root but maybe the problem is with the equation itself?

Réponse acceptée

madhan ravi
madhan ravi le 15 Juin 2020
Modifié(e) : madhan ravi le 15 Juin 2020
syms x
double(solve ( x^2-(1+x)^2 + x^2*(1+x)^2 , 'MaxDegree', 4))

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by