summaryrefslogtreecommitdiff
path: root/2465/CH5/EX5.10/Ex5_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /2465/CH5/EX5.10/Ex5_10.sce
parentf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff)
downloadScilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip
Modified the code
Diffstat (limited to '2465/CH5/EX5.10/Ex5_10.sce')
-rw-r--r--2465/CH5/EX5.10/Ex5_10.sce29
1 files changed, 0 insertions, 29 deletions
diff --git a/2465/CH5/EX5.10/Ex5_10.sce b/2465/CH5/EX5.10/Ex5_10.sce
deleted file mode 100644
index d2c27a4d5..000000000
--- a/2465/CH5/EX5.10/Ex5_10.sce
+++ /dev/null
@@ -1,29 +0,0 @@
-//Chapter-5,Example 10,Page 125
-clc();
-close();
-
-T1=50 //time in sec
-
-T2 = 25 //time in sec
-
-a1=0.5 //initial concentration
-
-a2= 1
-
-// (T1/T2) = (a2/a1)^(n-1)
-//therefore (50/25) =(1/0.5)^(n-1)
-// 2=2^(n-1)
-// n=2
-//hence its 2nd order
-
-t_half= T1
-
-k=1/(a1*t_half)
-
-//assume y= a-x
-
-y=0.2*a1 //remaining concentration
-
-t=(a1-y)/(a1*k*(y))
-
-printf('the time taken is %.f sec ',t)