blob: 9dfbc191c4807a98d3035dee3d1faedb73e2604c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Ex1_9
clc;
//Given:
m=1/(6.023*10^23);//mass of 1 atom in g
m1=m*10^-3;//mass of 1 atom in Kg
c=3*10^8;// velocity in m/s
//solution:
e=m1*c*c; // energy in J
e1=e/(1.6*10^-13);// energy in MeV
printf("The energy in MeV is = %f ",e1)
|