From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3888/CH7/EX7.2/Ex7_2.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 3888/CH7/EX7.2/Ex7_2.sce (limited to '3888/CH7/EX7.2/Ex7_2.sce') 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); -- cgit