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/CH8/EX8.8 | |
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/CH8/EX8.8')
-rw-r--r-- | 3831/CH8/EX8.8/Ex8_8.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3831/CH8/EX8.8/Ex8_8.sce b/3831/CH8/EX8.8/Ex8_8.sce new file mode 100644 index 000000000..a03bbd874 --- /dev/null +++ b/3831/CH8/EX8.8/Ex8_8.sce @@ -0,0 +1,19 @@ +// Example 8_8
+clc;funcprot(0);
+// Given data
+W=0.250;// hp
+V=1.00;// quart of water
+p_1=14.7;// psia
+T_1=60.0;// °F
+p_2=p_1;// psia
+t=10;// min
+c=1.00;// Btu/(lbm.R)
+
+// Calculation
+V=V*(1/4)*0.13368;// ft^3
+v=0.01603;// ft^3/lbm
+m=V/v;// lbm
+Q_12bymc=0;// Btu/lbm
+T_2=T_1+Q_12bymc-((-W*t*(1/60)*(2545))/(m*c));// °F
+S_p12=m*c*log((T_2+459.67)/(T_1+459.67));// Btu/R
+printf("\nThe temperature of the water when the machine is turned off,T_2=%3.0f°F \nThe amount of entropy produced,1(S_p)2=%0.3f Btu/R",T_2,S_p12);
|