blob: bbeb8604080e893c927cfb7e335d63d519b4ae8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Chapter 4, Example 4.2, Page 89
clc
clear
//Binding energy
O15 = 15.0030654 // atomic mass of O15 isotope
mn = 1.00866492
O16 = 15.9949146 // atomic mass of O16 isotope
c2 = 931.5 // C^2 in MeV
S = (O15+mn-O16)*c2
printf("\n Binding energy = %f MeV",S);
//Answer may vary due to round off error
|