diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /964/CH9/EX9.9/9_9.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '964/CH9/EX9.9/9_9.sce')
-rwxr-xr-x | 964/CH9/EX9.9/9_9.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/964/CH9/EX9.9/9_9.sce b/964/CH9/EX9.9/9_9.sce new file mode 100755 index 000000000..fc82eb8ef --- /dev/null +++ b/964/CH9/EX9.9/9_9.sce @@ -0,0 +1,10 @@ +//clc()
+//0.0003*x1 + 3*x2 = 2.0001
+//1*x1 + 1*x2 = 1
+a11 = 0.000;
+//multiplying first equation by 1/0.0003, we get, x1 + 10000*x2 = 6667
+x2 = (6667-1)/(10000-1);
+x1 = 6667 - 10000*x2;
+disp(x2,"x2 = ")
+disp(x1,"x1 = ")
+disp("The error varies depending on the no. of significant figures used")
|