[Scilab-users] How to solve a matricial equation in scilab

email1018 viniciussucupira at gmail.com
Sun Dec 16 18:57:16 CET 2012


Solve the matricial equation:

[a b; c d] * [3 1;-2 2]=[5 7;-5 9]

Solution

The equation is:

[3*a-2*b a+2*b;3*c-2*d c+2*d]=[5 7;-5 9]

3*a-2*b=5
a+2*b=7

a=7-2*b
3*(7-2*b)-2*b=5
21-6*b-2*b=5
21-8*b=5
21-5=8*b
8*b=16
b=16/8
b=2
a+2*b=7
a+2*(2)=7
a+4=7
a=3


3*c-2*d=-5
c+2*d=9

c=9-2*d
3*(9-2*d)-2*d=-5
27-6*d-2*d=-5
27-8*d=-5
27+5=8*d
8*d=32
d=32/8
d=4
c=9-2*d
c=9-2*(4)
c=9-8
c=1

a=3
b=2 
c=1
d=4

[a b; c d]
The solution is [3 2;1 4]

I would like please a solution in scilab.

Regards



--
View this message in context: http://mailinglists.scilab.org/How-to-solve-a-matricial-equation-in-scilab-tp4025495.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list