summaryrefslogtreecommitdiff
path: root/1427/CH20/EX20.12/20_12.sce
blob: 94a09d004178ceb7d6ab23c410037ca23379174a (plain)
1
2
3
4
5
6
7
8
9
//ques-20.12
//Calculating mass defect and binding energy per nucleon for sodium atom
clc
mh=1.008;//mass of hydrogen (in amu)
mn=1.0072;//mass of neutron (in amu)
M=23.0092;//atomic mass of sodium (in amu)
dm=11*mh+12*mn-M;//mass defect
BE=(dm*931)/23;
printf("The mass defect is %.4f amu binding energy per nucleon for Sodium atom is %.3f Mev.",dm,BE);