diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3888/CH7/EX7.2/Ex7_2.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3888/CH7/EX7.2/Ex7_2.sce')
-rw-r--r-- | 3888/CH7/EX7.2/Ex7_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3888/CH7/EX7.2/Ex7_2.sce b/3888/CH7/EX7.2/Ex7_2.sce new file mode 100644 index 000000000..3ee5aadc0 --- /dev/null +++ b/3888/CH7/EX7.2/Ex7_2.sce @@ -0,0 +1,21 @@ +//Electric Power Generation, Transmission and Distribution by S.N.Singh
+//Publisher:PHI Learning Private Limited
+//Year: 2012 ; Edition - 2
+//Example 7.2
+//Scilab Version : 6.0.0 ; OS : Windows
+
+clc;
+clear;
+
+
+rad_atomic_mass=226.095; //Atomic Mass of Radium in amu
+rad_decay_const=1.3566*10^-11; //Decay Constant of Radium in 1/s
+Half_life=0.6931/rad_decay_const; //Radium Half Life in sec
+Half_life_yr=Half_life/(365*24*60*60); //Radium Half Life in year
+N=6.023*10^23/rad_atomic_mass; //Number of atoms per gram of Radium
+Activity=rad_decay_const*N; //Activity of Radium in disintegration/second
+Activity_curi=Activity/(3.7*10^10); //Activity of Radium in Ci
+
+
+printf("\nHalf life is %e sec or %.2f yr",Half_life,Half_life_yr);
+printf("\nThe initial activity is %.3f Ci",Activity_curi);
|