summaryrefslogtreecommitdiff
path: root/3856/CH2/EX2.4
diff options
context:
space:
mode:
Diffstat (limited to '3856/CH2/EX2.4')
-rw-r--r--3856/CH2/EX2.4/Ex2_4.sce25
-rw-r--r--3856/CH2/EX2.4/Ex2_4.txt2
2 files changed, 27 insertions, 0 deletions
diff --git a/3856/CH2/EX2.4/Ex2_4.sce b/3856/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..89a0dd255
--- /dev/null
+++ b/3856/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,25 @@
+//Calculate the molar volume of Methane
+
+//Example 2.4
+
+clc;
+
+clear;
+
+B=-0.042; //Second virial coefficient of Methane in L mol^-1
+
+P=100; //Pressure in atm
+
+R=0.08206; //Gas constant in L atm K^-1 mol^-1
+
+T=300; //Temperature in kelvin
+
+Z=1+((B*P)/(R*T)); //Compressibility Factor
+
+Vbar=(Z*R*T)/P;//Volume of Methane per mol in L
+
+printf("Observed Molar Volume of Methane = %.2f L mol^-1", Vbar);
+
+V1bar=(R*T)/P; //Molar volume of Methane through Ideal Gas Equation in L
+
+printf("\nMolar volume of Methane through Ideal Gas Equation = %.2f L mol^-1", V1bar);
diff --git a/3856/CH2/EX2.4/Ex2_4.txt b/3856/CH2/EX2.4/Ex2_4.txt
new file mode 100644
index 000000000..77157dd49
--- /dev/null
+++ b/3856/CH2/EX2.4/Ex2_4.txt
@@ -0,0 +1,2 @@
+ Observed Molar Volume of Methane = 0.20 L mol^-1
+Molar volume of Methane through Ideal Gas Equation = 0.25 L mol^-1 \ No newline at end of file