diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3845/CH32/EX32.2/Ex32_2.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3845/CH32/EX32.2/Ex32_2.sce')
-rw-r--r-- | 3845/CH32/EX32.2/Ex32_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3845/CH32/EX32.2/Ex32_2.sce b/3845/CH32/EX32.2/Ex32_2.sce new file mode 100644 index 000000000..57c1a1326 --- /dev/null +++ b/3845/CH32/EX32.2/Ex32_2.sce @@ -0,0 +1,16 @@ +//Example 32.2
+a1=2.014102;//Atomic mass of deuterium (u), See Appendix A
+a2=3.016050;//Atomic mass of tritium (u), See Appendix A
+a=a1+a2;//Total atomic mass per reaction (u)
+m=a;//Mass per mole of reactants (g/mol)
+mol_of_reactants=1000/m;//Mol of reactants in 1kg
+N=mol_of_reactants*6.02*10^23;//Number of reactions
+E=N*17.59*(1.602*10^-13);//Total energy output=number of reactions*energy per reaction) (J)
+printf('a. Total energy output = %0.2e J',E)
+t=3.16*10^7;//Number of seconds in a year (s)
+power=E/t;
+printf('\nb. Power output = %0.1f MW',power/10^6)
+//There is a small variation in the value of atomic mass of Tritium used in the textbook from that found in Appendix A
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+
|