summaryrefslogtreecommitdiff
path: root/60/CH4/EX4.4
diff options
context:
space:
mode:
Diffstat (limited to '60/CH4/EX4.4')
-rwxr-xr-x60/CH4/EX4.4/ex_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/60/CH4/EX4.4/ex_4.sce b/60/CH4/EX4.4/ex_4.sce
new file mode 100755
index 000000000..5d04187e4
--- /dev/null
+++ b/60/CH4/EX4.4/ex_4.sce
@@ -0,0 +1,17 @@
+
+ //Example (pg no.136)
+
+ // x1 + 2(x2) = 3
+ //2(x1) + 4(x2) = 6
+
+ A=[1 2;2 4]
+ //coefficient matrix of above equations
+ b=[3 6]'
+ x=A\b
+ //for corresponding homogenous system
+ // x1 + 2(x2) = 0
+ //2(x1) + 4(x2) = 0
+ A=[1 2;2 4]
+ //coefficient matrix of above equations
+ b=[0 0]'
+ x=A\b \ No newline at end of file