From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1847/CH5/EX5.1/Ch05Ex1.sce | 10 ++++++++++ 1847/CH5/EX5.3/Ch05Ex3.sce | 12 ++++++++++++ 1847/CH5/EX5.4/Ch05Ex4.sce | 9 +++++++++ 1847/CH5/EX5.5/Ch05Ex5.sce | 12 ++++++++++++ 1847/CH5/EX5.6/Ch05Ex6.sce | 11 +++++++++++ 1847/CH5/EX5.7/Ch05Ex7.sce | 12 ++++++++++++ 1847/CH5/EX5.8/Ch05Ex8.sce | 11 +++++++++++ 1847/CH5/EX5.9/Ch05Ex9.sce | 11 +++++++++++ 8 files changed, 88 insertions(+) create mode 100755 1847/CH5/EX5.1/Ch05Ex1.sce create mode 100755 1847/CH5/EX5.3/Ch05Ex3.sce create mode 100755 1847/CH5/EX5.4/Ch05Ex4.sce create mode 100755 1847/CH5/EX5.5/Ch05Ex5.sce create mode 100755 1847/CH5/EX5.6/Ch05Ex6.sce create mode 100755 1847/CH5/EX5.7/Ch05Ex7.sce create mode 100755 1847/CH5/EX5.8/Ch05Ex8.sce create mode 100755 1847/CH5/EX5.9/Ch05Ex9.sce (limited to '1847/CH5') diff --git a/1847/CH5/EX5.1/Ch05Ex1.sce b/1847/CH5/EX5.1/Ch05Ex1.sce new file mode 100755 index 000000000..595dd753f --- /dev/null +++ b/1847/CH5/EX5.1/Ch05Ex1.sce @@ -0,0 +1,10 @@ +// Scilab Code Ex5.1 :: Page-5.2 (2009) +clc;clear; +m_p = 1.007826; // Mass of a proton, amu +m_n = 1.008665; // Mass of a neutron, amu +M_He = 4.002604; // Measured mass of He nucleuc, amu +delta_m = 2*m_p+2*m_n - M_He; // Mass defect of He, amu +printf("\nThe mass defect of He = %f amu", delta_m); + +// Result +// The mass defect of He = 0.030378 amu diff --git a/1847/CH5/EX5.3/Ch05Ex3.sce b/1847/CH5/EX5.3/Ch05Ex3.sce new file mode 100755 index 000000000..85fa7b147 --- /dev/null +++ b/1847/CH5/EX5.3/Ch05Ex3.sce @@ -0,0 +1,12 @@ +// Scilab Code Ex5.3 :: Page-5.16 (2009) +clc;clear; +B = 0.70; // Magnetic field of cyclotron, weber/metre square +q = 1.6e-019; // Charge of the proton, C +R = 3; // Radius of Dee's, m +m = 1.67e-027; // Mass of the proton, kg +E_max = B^2*q^2*R^2/(2*m); // Maximum energy of the proton in the cyclotron, joule +printf("\nThe maximum energy of the proton in the cyclotron = %4.2e MeV", E_max/1.6e-013); + +// Result +// The maximum energy of the proton in the cyclotron = 2.11e+02 MeV +// The unit has been given wrong in the textbook. It should be MeV instead of eV \ No newline at end of file diff --git a/1847/CH5/EX5.4/Ch05Ex4.sce b/1847/CH5/EX5.4/Ch05Ex4.sce new file mode 100755 index 000000000..d3bc08c44 --- /dev/null +++ b/1847/CH5/EX5.4/Ch05Ex4.sce @@ -0,0 +1,9 @@ +// Scilab Code Ex5.4 :: Page-5.20 (2009) +clc;clear; +f = 1e+06; // Frequency of revolution of electron, Hz +rate_phi_B = 25; // Rate of change of magnetic flux, wb/s +E = f*rate_phi_B; // Energy of 'f' revolutios, eV +printf("\nThe energy of the electron in Betatron after %g revolutions = %3.1e eV", f, E); + +// Result +// The energy of the electron in Betatron after 1e+06 revolutions = 2.5e+07 eV diff --git a/1847/CH5/EX5.5/Ch05Ex5.sce b/1847/CH5/EX5.5/Ch05Ex5.sce new file mode 100755 index 000000000..c126b06bb --- /dev/null +++ b/1847/CH5/EX5.5/Ch05Ex5.sce @@ -0,0 +1,12 @@ +// Scilab Code Ex5.5 :: Page-5.20 (2009) +clc;clear; +e = 1.6e-019; // Charge on an electron, C +D = 2.0; // Diameter of the stable orbit in betatron, m +R = D/2; // Radius of the stable orbit in betatron, m +B = 0.5; // Magnetic field of betatron, wb/metre square +c = 3e+08; // final speed of electron in betatron, m/s +E = B*e*R*c; // Final energy gained by electrons in a betatron, eV +printf("\nThe final energy gained by electrons in the betatron = %3.1e eV", E/e); + +// Result +// The final energy gained by electrons in the betatron = 1.5e+08 eV diff --git a/1847/CH5/EX5.6/Ch05Ex6.sce b/1847/CH5/EX5.6/Ch05Ex6.sce new file mode 100755 index 000000000..94631b724 --- /dev/null +++ b/1847/CH5/EX5.6/Ch05Ex6.sce @@ -0,0 +1,11 @@ +// Scilab Code Ex5.6 :: Page-5.27 (2009) +clc;clear; +e = 1.6e-019; // Energy equivalent of 1 eV, J/eV +A = 235; // Atomic weight of uranium, gm/mol +N_A = 6.023e+026; // No. of atoms present in 235 kg of uranium +N = N_A/(A*1000); // No. of nuceli of uranium per gram +E = N*200; // Energy produced by 1 g of U-235, MeV +printf("\nThe energy produced by 1 g of U-235 = %3.1e joule", E*e*1e+06); + +// Result +// The energy produced by 1 g of U-235 = 8.2e+10 joule diff --git a/1847/CH5/EX5.7/Ch05Ex7.sce b/1847/CH5/EX5.7/Ch05Ex7.sce new file mode 100755 index 000000000..f522782f9 --- /dev/null +++ b/1847/CH5/EX5.7/Ch05Ex7.sce @@ -0,0 +1,12 @@ +// Scilab Code Ex5.7 :: Page-5.32 (2009) +clc;clear; +A = 235; // Atomic weight of uranium, gm/mol +N_A = 6.023e+026; // No. of atoms present in 235 kg of uranium-235 +N = N_A*5/A; // No. of nuceli of uranium in 5 kg of U-235 +E = N*200; // Energy released in the fission of 5 kg of U-235, MeV +t = 24*3600; // Time taken to consume 5 kg of U-235, sec +P = E/t; // Total power output of the nuclear reactor, MeV per second +printf("\nThe total power output of the nuclear reactor = %4.2e MeV per second", P); + +// Result +// The total power output of the nuclear reactor = 2.97e+22 MeV per second diff --git a/1847/CH5/EX5.8/Ch05Ex8.sce b/1847/CH5/EX5.8/Ch05Ex8.sce new file mode 100755 index 000000000..31d7e8b7c --- /dev/null +++ b/1847/CH5/EX5.8/Ch05Ex8.sce @@ -0,0 +1,11 @@ +// Scilab Code Ex5.8 :: Page-5.34 (2009) +clc;clear; +e = 1.6e-019; // Electronic charge, C +f = 450; // Count rate of GM counter, counts/min +N = f*1e+08; // Total number of electrons collected per min +Q = N*e; // Charge collected per min, C +I = Q/60; // Averge current in the GM counter, A +printf("\nThe averge current in the GM counter= %3.1e A", I); + +// Result +// The averge current in the GM counter= 1.2e-10 A diff --git a/1847/CH5/EX5.9/Ch05Ex9.sce b/1847/CH5/EX5.9/Ch05Ex9.sce new file mode 100755 index 000000000..af6f8dacc --- /dev/null +++ b/1847/CH5/EX5.9/Ch05Ex9.sce @@ -0,0 +1,11 @@ +// Scilab Code Ex5.9 :: Page-5.39 (2009) +clc;clear; +m_Ca_41 = 40.962278; // Mass of one Ca-41 nuclei, amu +m_Ca_42 = 41.958618; // Mass of one Ca-41 nuclei, amu +m_n = 1.008665; // Mass of a neutron, amu +delta_m = m_Ca_42 - (m_Ca_41 + m_n); // Difference in the mass of Ca-42 and Ca_41 nuclei, amu +E = delta_m*(931.49); // Binding energy of the missing neutron, MeV +printf("\nThe energy needed to remove a neutron from Ca-42 nucleus = %5.2f MeV", abs(E)); + +// Result +// The energy needed to remove a neutron from Ca-42 nucleus = 11.48 MeV -- cgit