summaryrefslogtreecommitdiff
path: root/3825/CH7/EX7.8/Ex7_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH7/EX7.8/Ex7_8.sce')
-rw-r--r--3825/CH7/EX7.8/Ex7_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3825/CH7/EX7.8/Ex7_8.sce b/3825/CH7/EX7.8/Ex7_8.sce
new file mode 100644
index 000000000..7ed2c5bad
--- /dev/null
+++ b/3825/CH7/EX7.8/Ex7_8.sce
@@ -0,0 +1,11 @@
+clc
+Q=[1 1;(1/4) (1/3)]//matrix for (A),(B) LHS
+R=[1500;(2500/6)] //matrix for (A),(B),RHS
+S=inv(Q)*R//solving equation A and B
+Q2=S(1,1)
+Q3=S(2,1)
+mprintf("Q2=%fkJ\n",Q2)
+mprintf("Q3=%ikJ\n",Q3)
+
+
+