summaryrefslogtreecommitdiff
path: root/3557/CH13/EX13.4/Ex13_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH13/EX13.4/Ex13_4.sce')
-rw-r--r--3557/CH13/EX13.4/Ex13_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3557/CH13/EX13.4/Ex13_4.sce b/3557/CH13/EX13.4/Ex13_4.sce
new file mode 100644
index 000000000..df74c7af5
--- /dev/null
+++ b/3557/CH13/EX13.4/Ex13_4.sce
@@ -0,0 +1,11 @@
+//Example 13.4//
+S=32.06;//amu //atomic mass of sulphur //(From Appendix 1)
+C=12.01;//amu //atomic mass of carbon //(From Appendix 1)
+H=1.008;//amu //atomic mass of hydrogen //(From Appendix 1)
+a=5;//Number of atoms
+b=8;//Number of atoms
+ms=S/((a*C)+(b*H))*100
+mprintf("ms = %f ",ms)
+c=20;//g //amount of sulphur added
+fr=c/ms
+mprintf("\nfr = %f ",fr)