summaryrefslogtreecommitdiff
path: root/3831/CH11/EX11.14/Ex11_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH11/EX11.14/Ex11_14.sce')
-rw-r--r--3831/CH11/EX11.14/Ex11_14.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3831/CH11/EX11.14/Ex11_14.sce b/3831/CH11/EX11.14/Ex11_14.sce
new file mode 100644
index 000000000..f4286bc10
--- /dev/null
+++ b/3831/CH11/EX11.14/Ex11_14.sce
@@ -0,0 +1,24 @@
+// Example 11_14
+clc;funcprot(0);
+// Given data
+V=0.100;// m^3
+p=20.0;// MPa
+m=15.6;// kg
+T=1000;// °C
+
+// Solution
+// From Table C.12b, we find the critical state properties of methane to be
+T_c=191.1;// K
+p_c=4.64;// MPa
+v=V/m;// m^3/kg
+v_1=v;// m^3/kg
+v_2=v_1;// m^3/kg
+// Table C.13b, gives the gas constant for methane as
+R=0.518;// kJ/kg.K
+// Assume 'a' instead of '
+v_Ra=(v*p_c*10^3)/(R*T_c);
+T_R=(T+273.15)/T_c;
+p_R=32.0;
+p_2byp_c=p_R;
+p_2_worstcase=p_R*p_c;// MPa
+printf("\nThe maximum pressure in the CNG tank at this worst case temperature,(p_2)_worstcase=%3.0f MPa",p_2_worstcase);