diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3831/CH13/EX13.2 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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/CH13/EX13.2')
-rw-r--r-- | 3831/CH13/EX13.2/Ex13_2.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3831/CH13/EX13.2/Ex13_2.sce b/3831/CH13/EX13.2/Ex13_2.sce new file mode 100644 index 000000000..69c38251f --- /dev/null +++ b/3831/CH13/EX13.2/Ex13_2.sce @@ -0,0 +1,23 @@ +// Example 13_2
+clc;funcprot(0);
+// Given data
+D_piston=2.00;// ft
+W_out=20;// hp
+L=4.00;// ft/stroke
+m_b=4000;// lbf
+d=15.0;// ft
+Duty=35.0*10^6;
+N=18.0;// strokes per minute
+
+// Calculation
+// (a)
+A=(%pi*D_piston^2)/4;// ft^2
+W_out=20*33000;// ft.lbf/min
+p_avg=W_out/(A*L*N);// lbf/ft^2
+p_avg=p_avg/144;// lbf/in^2
+// (b)
+n_T=(Duty/(8.5*10^8))*100;// The actual thermal efficiency of the engine in %
+// (c)
+W_out=20;// hp
+Q_boiler=(W_out*2545)/(n_T/100);// Btu/h
+printf("\n(a)The average pressure of the cycle,p_avg=%2.1f lbf/in^2 \n(b)The actual thermal efficiency of the engine,n_T=%1.2f percentage \n(c)The heat rate produced by the boiler,Q_boiler=%1.2e Btu/h",p_avg,n_T,Q_boiler);
|