blob: fe6f94a342415db28fda1fcae832e8f972e5ef17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//Chapter-3,Example 13,Page 60
clc;
close;
//Reaction.....N(14) + He(4) ---> O(17) +H(1)
m_r= 18.01140 // total mass of reactants in a.m.u.
m_p= 18.01264 // total mass of product in a.m.u.
m= m_p -m_r // increase in mass
Q_value= m*931 // in electron volt since 1 a.m.u. =931 MeV
//since mass is increased after reaction
// Q value is negative
printf('the Q value for the reaction is %.2f MeV',-Q_value)
|