summaryrefslogtreecommitdiff
path: root/3831/CH11/EX11.12/Ex11_12.sce
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.12/Ex11_12.sce
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.12/Ex11_12.sce')
-rw-r--r--3831/CH11/EX11.12/Ex11_12.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3831/CH11/EX11.12/Ex11_12.sce b/3831/CH11/EX11.12/Ex11_12.sce
new file mode 100644
index 000000000..a3a969613
--- /dev/null
+++ b/3831/CH11/EX11.12/Ex11_12.sce
@@ -0,0 +1,21 @@
+// Example 11_12
+clc;funcprot(0);
+// Given data
+T=60.0;// °F
+p_1=14.7;// psia
+r_c=19.2:1;// Compression ratio
+
+// Solution
+// From Table C.16a in Thermodynamic Tables to accompany Modern Engineering Thermodynamics,we find that, at 60.0°F = 520.R,
+u_1=88.62;// Btu/lbm
+p_r1=1.2147;
+v_r1=158.58;
+v_2byv_1=1/19.2;
+v_r2=v_r1*v_2byv_1;
+// Scanning down the v_r column in Table C.16a, we find that vr = 8.26 at about
+T_2=1600-459.67;// °F
+u_2=286.06;// Btu/lbm
+p_r2=71.73;
+p_2=p_1*(p_r2/p_r1);// psia
+W_12bym=u_1-u_2;// Btu/lbm
+printf("\nThe final temperature and pressure of the air at the end of the compression stroke,T_2=%4.0f°F and p_2=%3.1f psia. \nThe work required per lbm of air present,1W2/m=%3.2f Btu/lbm",T_2,p_2,W_12bym);