summaryrefslogtreecommitdiff
path: root/767/CH4/EX4.8.2/Ch04Exa4_8_2.sci
blob: b15f3abe514c3ff40994af1e83bd1a36144f8577 (plain)
1
2
3
4
5
6
7
8
// Scilab code Exa4.8.2: To calculate the energy produced by the fusion reaction He(2,4)+C(6,12)= O(8,16) : Page 194 (2011)
M_r = 16.002603; // Mass of the reactant, amu
M_p = 15.994915; // Mass of reactant, amu
M_d = 7.688e-03; // Difference in masses, amu
E_p = M_d*931.49; // Energy produced, MeV
printf("\n Energy produced by the fusion reaction :%4.2f MeV", E_p)
// Result  
// Energy produced by the fusion reaction :7.16 MeV