summaryrefslogtreecommitdiff
path: root/3831/CH11/EX11.14
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3831/CH11/EX11.14
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3831/CH11/EX11.14')
-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);