diff options
Diffstat (limited to '1553/CH23/EX23.4/23Ex4.sce')
-rw-r--r-- | 1553/CH23/EX23.4/23Ex4.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1553/CH23/EX23.4/23Ex4.sce b/1553/CH23/EX23.4/23Ex4.sce new file mode 100644 index 000000000..c3dfb8d95 --- /dev/null +++ b/1553/CH23/EX23.4/23Ex4.sce @@ -0,0 +1,14 @@ +//chapter 23 Ex 4
+
+clc;
+clear;
+close;
+//(i)
+n1=3; n2=5; n3=25; n4=27;
+ans1=(log(n1)/log(n2))*(log(n3)/log(n4));
+mprintf("The answer is %.2f",ans1);
+
+//(ii)
+n5=27; n6=9; n7=9; n8=27;
+ans2=(log(n5)/log(n6))-(log(n7)/log(n8));
+mprintf("\nThe answer is %.2f",ans2);
|