summaryrefslogtreecommitdiff
path: root/50/CH3/EX3.5/ex_3_5.sce
blob: 7f23bc40e64d6cc30de2cee78f89b1f80be3d31e (plain)
1
2
3
4
5
6
7
8
9
//example-3.5
//caption-solution by gauss elimibnation method

A=[10 -1 2;1 10 -1;2 3 20]                //matrices A and b from the above 
                                                 //system of equations
b=[4;3;7]

gausselim(A,b)            //call gauss elimination function to solve the 
                                //matrices A and b