diff options
Diffstat (limited to '1553/CH23/EX23.9/23Ex9.sce')
-rw-r--r-- | 1553/CH23/EX23.9/23Ex9.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1553/CH23/EX23.9/23Ex9.sce b/1553/CH23/EX23.9/23Ex9.sce new file mode 100644 index 000000000..8abfc9d72 --- /dev/null +++ b/1553/CH23/EX23.9/23Ex9.sce @@ -0,0 +1,14 @@ +//chapter 23 Ex 9
+
+clc;
+clear;
+close;
+//(i)
+n1=25
+ans1=log10(n1);
+mprintf("The value of log %d is %.3f",n1,ans1);
+
+//(ii)
+n2=4.5
+ans2=log10(n2);
+mprintf("The value of log %d is %.3f",n2,ans2);
|