summaryrefslogtreecommitdiff
path: root/3850/CH46/EX46.3/Ex46_3.sce
blob: 2533c24ba9c8632c83e18a4a30c3b1e8489da660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

//To calculate the mass excess of Hydrogen
//Example 46.3

clear;

clc;

u=931;//1 Atomic Mass Unit in MeV/c^2

m=1.00783;//Mass of Hydrogen atom in atomic mass unit

A=1.0;//Atomic Mass of Hydrogen atom in atomic mass unit

Me=u*(m-A);//Mass excess of Hydrogen

printf("The mass excess of Hydrogen = %.2f MeV",Me);