summaryrefslogtreecommitdiff
path: root/1301/CH10/EX10.12/ex10_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1301/CH10/EX10.12/ex10_12.sce')
-rwxr-xr-x1301/CH10/EX10.12/ex10_12.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1301/CH10/EX10.12/ex10_12.sce b/1301/CH10/EX10.12/ex10_12.sce
new file mode 100755
index 000000000..4f7a65f1a
--- /dev/null
+++ b/1301/CH10/EX10.12/ex10_12.sce
@@ -0,0 +1,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 \ No newline at end of file