summaryrefslogtreecommitdiff
path: root/964/CH9/EX9.7/9_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '964/CH9/EX9.7/9_7.sce')
-rwxr-xr-x964/CH9/EX9.7/9_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/964/CH9/EX9.7/9_7.sce b/964/CH9/EX9.7/9_7.sce
new file mode 100755
index 000000000..766c84031
--- /dev/null
+++ b/964/CH9/EX9.7/9_7.sce
@@ -0,0 +1,17 @@
+clc;
+clear;
+//part a
+a=[3 2;-1 2];
+b1=18;
+b2=2;
+disp(determ(a),"The determinant for part(a)=")
+//part b
+a=[1 2;1.1 2];
+b1=10;
+b2=10.4;
+disp(determ(a),"The determinant for part(b)=")
+//part c
+a1=a*10;
+b1=100;
+b2=104;
+disp(determ(a1),"The determinant for part(c)=") \ No newline at end of file