Hi,
I've solved a system of nonlinear equations by hand, but I'm not sure if my answer is correct. I would like to verify my results with maple's output.
However, I am having some trouble using maple:
Here's my code:
> eq1:=2*(x*r) + 2*(y*s) + 2*(z*t)-(t^2) + (r^2)=0:
> eq2:=3*(x*(r^2)) + 3*(y*(s^2)) + 3*(z*(t^2))-(t^3)+(r^3) =0:
> eq3:=4*(x*(r^3)) + 4*(y*(s^3)) + 4*(z*(t^3))-(t^4)+(r^4)=0:
> fsolve({eq1, eq2, eq3});
Error, (in fsolve) number of equations, 3, does not match number of variables, 6
where r, s, and t are coefficients/constants and x, y, and z are variables.
I'm thinking that maple is interpreting r,s, and t to be variables. How can I let maple know this is not the case?
I would greatly appreciate any advice/suggestions.
Thanks,
I've solved a system of nonlinear equations by hand, but I'm not sure if my answer is correct. I would like to verify my results with maple's output.
However, I am having some trouble using maple:
Here's my code:
> eq1:=2*(x*r) + 2*(y*s) + 2*(z*t)-(t^2) + (r^2)=0:
> eq2:=3*(x*(r^2)) + 3*(y*(s^2)) + 3*(z*(t^2))-(t^3)+(r^3) =0:
> eq3:=4*(x*(r^3)) + 4*(y*(s^3)) + 4*(z*(t^3))-(t^4)+(r^4)=0:
> fsolve({eq1, eq2, eq3});
Error, (in fsolve) number of equations, 3, does not match number of variables, 6
where r, s, and t are coefficients/constants and x, y, and z are variables.
I'm thinking that maple is interpreting r,s, and t to be variables. How can I let maple know this is not the case?
I would greatly appreciate any advice/suggestions.
Thanks,