solution of a polynomial equation.

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

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

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.....
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.

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

i tried to copy and pest the code in matlab.. its not working....but thank you for your time....
You probably do not have the symbolic toolbox installed or licensed.

Sign in to comment.

Asked:

on 7 Feb 2018

Commented:

on 19 Feb 2018

Community Treasure Hunt

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

Start Hunting!