summaryrefslogtreecommitdiff
path: root/3557/CH19/EX19.5/Ex19_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH19/EX19.5/Ex19_5.sce')
-rw-r--r--3557/CH19/EX19.5/Ex19_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3557/CH19/EX19.5/Ex19_5.sce b/3557/CH19/EX19.5/Ex19_5.sce
new file mode 100644
index 000000000..d27fcafff
--- /dev/null
+++ b/3557/CH19/EX19.5/Ex19_5.sce
@@ -0,0 +1,19 @@
+//Example 19.5//
+
+a=100;//g Fe //corrosion
+b=55.85;//g Fe/g atom Fe // Atomic mass of iron (From Appendix 1)
+c=1/2;//mole O2 //Given
+d=1;//mole Fe //Given
+m=(a/b)*(c/d)
+mprintf("m = %f mole O2",m)
+
+//Using ideal gas law, we obtain
+//At STP
+n=0.895;//mole //number of moles
+R=8.314;//J/mol K //gas constant
+T=273;//K //Temperature of the gas
+a1=1;//atm //atmosphere
+b1=1;//Pa //Pascal
+P=9.869*10^-6;//atm // atmosphere //pressure of the gas
+V=(n*R*T)/(a1*b1/P)
+mprintf("\n V= %f m^3",V)