[Scilab-users] Equation

juanpablodlc juanpablodlc at gmail.com
Tue Dec 18 18:30:54 CET 2012


clear
A = ['a' '2'; 'b' '4']
B = ['3' 'c'; '-2' 'd']
b = string([5 7;-5 9]);
x=solve(B,b);
A;

There you can see that d=36. So:
deff('y=f(c)', 'y=3\(-c*(36\9)+7)-2');
c = fsolve(0,f);

Replacing the values d=36 and c=4 on vector x

x = [3\(-4*(-36\5)+5),3\(-4*(36\9)+7);-36/5,4];

Then a=1.85185 and b=-7.2




--
View this message in context: http://mailinglists.scilab.org/Equation-tp4025516p4025532.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list