blob: d9e4a75792428facf97b76293990e2ceb013610c (
plain)
1
2
3
4
5
6
|
clear
clc
disp('Exa-1.2');
Mp=1.007276 ; Me=5.4858*10^-4; //mass of proton and electron in terms of U
Mt=Mp+Me; //Total mass= sum of above masses
printf('The combined mass of an electron and a proton was found out to be %f U.',Mt);
|