summaryrefslogtreecommitdiff
path: root/1553/CH23/EX23.8/23Ex8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH23/EX23.8/23Ex8.sce')
-rw-r--r--1553/CH23/EX23.8/23Ex8.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH23/EX23.8/23Ex8.sce b/1553/CH23/EX23.8/23Ex8.sce
new file mode 100644
index 000000000..fb5120cb5
--- /dev/null
+++ b/1553/CH23/EX23.8/23Ex8.sce
@@ -0,0 +1,8 @@
+//chapter 23 Ex 8
+
+clc;
+clear;
+close;
+n1=50; n2=10;
+ans1=log10(n1)
+mprintf("The value of log %d to base %d is %.3f",n1,n2,ans1);