summaryrefslogtreecommitdiff
path: root/2939/CH4/EX4.31/Ex4_31.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2939/CH4/EX4.31/Ex4_31.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2939/CH4/EX4.31/Ex4_31.sce')
-rwxr-xr-x2939/CH4/EX4.31/Ex4_31.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2939/CH4/EX4.31/Ex4_31.sce b/2939/CH4/EX4.31/Ex4_31.sce
new file mode 100755
index 000000000..2a29947fa
--- /dev/null
+++ b/2939/CH4/EX4.31/Ex4_31.sce
@@ -0,0 +1,27 @@
+
+// Ex4_31
+clc;
+// Given:
+t=12.8;// hours
+// Solution:
+k=0.693/t;// decay constant
+//part(a)by EC
+kEC=0.42*k;
+printf("Decay by EC")
+printf("\n\t The decay constant is %f h^-1",kEC)
+tEC=0.693/kEC;
+printf("\n\t The half life is %f h",tEC)
+
+//part(b)by beta+
+kbeta1=0.19*k;
+printf("\nDecay by beta+")
+printf("\n\t The decay constant is %f h^-1",kbeta1)
+tbeta1=0.693/kbeta1;
+printf("\n\t The half life is %f h",tbeta1)
+
+//part(b)by beta+
+kbeta2=0.39*k;
+printf("\nDecay by beta-")
+printf("\n\t The decay constant is %f h^-1",kbeta2)
+tbeta2=0.693/kbeta2;
+printf("\n\t The half life is %f h",tbeta2)