[Scilab-users] solve a system of equations in scilab

Hermes herozigle at gmail.com
Sun Sep 17 12:56:01 CEST 2017


I've tried migrating the Maple code to Scilab:

<http://mailinglists.scilab.org/file/t497622/from_Maple_fsolve.jpg> 

And this is how I do it:
clear;
function Sys=Q(x,z)
Sys(1)=(x(1)-2)^2+(x(2)+2)^2+z^2-9;
Sys(2)=x(1)^6+x(2)^6+z^6-12;
endfunction
z=0;
[j,v,info]=fsolve([1.5;-0.9],list(Q,z))
disp(j,v,info)

is there a better way for Scilab?
I would like to get the three result [x1 x2 x3] with x3 = 0.
I am venturing into Scilab for the first time. My experience, not much, is
in Maple!
GRACIAS



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html



More information about the users mailing list