summaryrefslogtreecommitdiff
path: root/964/CH9/EX9.9
diff options
context:
space:
mode:
Diffstat (limited to '964/CH9/EX9.9')
-rwxr-xr-x964/CH9/EX9.9/9_9.sce10
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")