summaryrefslogtreecommitdiff
path: root/2939/CH4/EX4.25/Ex4_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '2939/CH4/EX4.25/Ex4_25.sce')
-rwxr-xr-x2939/CH4/EX4.25/Ex4_25.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2939/CH4/EX4.25/Ex4_25.sce b/2939/CH4/EX4.25/Ex4_25.sce
new file mode 100755
index 000000000..f659cbe93
--- /dev/null
+++ b/2939/CH4/EX4.25/Ex4_25.sce
@@ -0,0 +1,12 @@
+
+// Ex4_25
+clc;
+// Given:
+a=(1/32);// activity drop of its initial value
+t1=7.5;//in h case(a)
+t2=64.45;// in min case(b)
+// Solution:
+n=log(a)/log(0.5);
+t11=t1/n;// half life
+t12=t2/n;// half life
+printf("The half life for case (a)is %f h and case(b) is %f min",t11,t12)