From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 50/CH3/EX3.14/ex_3_14.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 50/CH3/EX3.14/ex_3_14.sce (limited to '50/CH3/EX3.14/ex_3_14.sce') diff --git a/50/CH3/EX3.14/ex_3_14.sce b/50/CH3/EX3.14/ex_3_14.sce new file mode 100755 index 000000000..3590d9c29 --- /dev/null +++ b/50/CH3/EX3.14/ex_3_14.sce @@ -0,0 +1,12 @@ +//example no. 3.14 +//solve system by cholesky method + +A=[1 2 3;2 8 22;3 22 82] + +b=[5;6;-10] + +L=cholesky (A,3) //call cholesky function to evaluate the root of the system +n=3; +Z=fore(L,b); + +X=back(L',Z) \ No newline at end of file -- cgit