blob: 4f7a65f1a0d232c42dfe9e1e36af503cf837b31b (
plain)
1
2
3
4
5
6
7
8
|
clc;
o=16.00; //atomic mass of O
h=1.008; //atomic mass of H
mh2o=(o+2*h)*1.66*10^-27; //mass of H2O molecule
disp(mh2o,"Mass of H20 molecule in kg = "); //displaying result
c=12.01; //atomic mass of carbon
m=((2*c)+o+(6*h))*1.66*10^-27; //mass of C2H6O molecule
disp(m,"Mass of Ethyl Alcohol molecule in kg = "); //displaying result
|