solution of a polynomial equation.
Show older comments
i have three set of polynomial equations
x^3+x*y^2+y^2*z=9
x*y*z+y^3+x*z^2=2
x+z*x^2+y*z^2=5
i need to find x,y,z....how can i find??please help
1 Comment
Walter Roberson
on 9 Feb 2018
There are 24 sets of solutions, two of which are real-valued.
Answers (2)
Torsten
on 7 Feb 2018
1 vote
help fsolve
Best wishes
Torsten.
2 Comments
shouvik dey
on 19 Feb 2018
Walter Roberson
on 19 Feb 2018
Are you restricting to real-valued solutions, or are you permitting complex values? If you are permitting complex values then fsolve would apparently not handle them properly until roughly R2016a (I would need to check the exact release.)
KSSV
on 7 Feb 2018
syms x y z
eqn(1) = x^3+x*y^2+y^2*z==9
eqn(2) = x*y*z+y^3+x*z^2==2
eqn(3) = x+z*x^2+y*z^2==5
sol = solve(eqn,x,y,z)
2 Comments
shouvik dey
on 9 Feb 2018
Walter Roberson
on 9 Feb 2018
You probably do not have the symbolic toolbox installed or licensed.
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!