summaryrefslogtreecommitdiff
path: root/1553/CH23/EX23.6/23Ex6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH23/EX23.6/23Ex6.sce')
-rw-r--r--1553/CH23/EX23.6/23Ex6.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1553/CH23/EX23.6/23Ex6.sce b/1553/CH23/EX23.6/23Ex6.sce
new file mode 100644
index 000000000..3c98b5b76
--- /dev/null
+++ b/1553/CH23/EX23.6/23Ex6.sce
@@ -0,0 +1,14 @@
+// Chapter 23 Ex6
+
+clc;
+clear;
+close;
+n1=3;
+//x=poly(0,'x');
+for x=1:.5:10
+ if log10((4*x+1)/(x+1))==(1-(log10(n1)))
+
+ break;
+end
+end
+mprintf("The value of x is %.2f",x);