summaryrefslogtreecommitdiff
path: root/2465/CH5/EX5.12
diff options
context:
space:
mode:
Diffstat (limited to '2465/CH5/EX5.12')
-rw-r--r--2465/CH5/EX5.12/Example_12.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2465/CH5/EX5.12/Example_12.sce b/2465/CH5/EX5.12/Example_12.sce
new file mode 100644
index 000000000..608882bf0
--- /dev/null
+++ b/2465/CH5/EX5.12/Example_12.sce
@@ -0,0 +1,23 @@
+//Chapter-5,Example 12,Page 126
+clc();
+close();
+
+a1=100
+
+x1=1
+
+t1=1
+
+k=2.303*log10(a1/(a1-x1))/t1
+
+t2=60 //time in minutes
+
+a2=100
+
+//assume (a2-x2)= y
+
+y= 1/(10^(k*t2/2.303)/a2)
+
+printf('the undecomposed is %.2f ',y)
+
+//mistake in textbook