solution of a polynomial equation.

4 views (last 30 days)
shouvik dey
shouvik dey on 7 Feb 2018
Commented: Walter Roberson on 19 Feb 2018
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
Walter Roberson on 9 Feb 2018
There are 24 sets of solutions, two of which are real-valued.

Sign in to comment.

Answers (2)

Torsten
Torsten on 7 Feb 2018
help fsolve
Best wishes
Torsten.
  2 Comments
shouvik dey
shouvik dey on 19 Feb 2018
first of all thank u for ur reply.....lately i have been trying to solve my problem using fsolve but it is not giving me satisfactory results ....i guess it's because of initial solution condition that i have to take ....so can u give me any advice about how to take the initial solution to get my solution.....
Walter Roberson
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.)

Sign in to comment.


KSSV
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
shouvik dey on 9 Feb 2018
i tried to copy and pest the code in matlab.. its not working....but thank you for your time....
Walter Roberson
Walter Roberson on 9 Feb 2018
You probably do not have the symbolic toolbox installed or licensed.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!