blob: 069bd8e25d3ca5356214073e4b5ba19b5f7cb9e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Chapter 4, Example 4.1, Page 86
clc
clear
//Binding energy
mn = 1.0078250
mp = 1.0086649
M = 4.0026032 // mass of He
MD = 2*mn+2*mp-M //Mass defect
BE = MD*931.5
printf("\n Mass defect = %f u",MD);
printf("\n Nuclear binding energy = %f MeV",BE); // answer provided in the textbook is wrong
//Answer may vary due to round off error
|