blob: 52bcebde6426cf24196e5289bd226b083509b8d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
m=1.0076
mp=4.0039
a=931.5*10**6 //ev
//Calculation
Mr=4*m
Md=Mr-mp
E=Md*a*1.6*10**-19
//Result
printf("\n Energy released is %0.2f *10**-13 J",E*10**13)
|