diff options
Diffstat (limited to '3831/CH5/EX5.4/Ex5_4.sce')
-rw-r--r-- | 3831/CH5/EX5.4/Ex5_4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3831/CH5/EX5.4/Ex5_4.sce b/3831/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..dd031c017 --- /dev/null +++ b/3831/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,18 @@ +// Example 5_4
+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;
+T_2=T_1+Q_12bymc-((-W*t*(1/60)*(2545))/(m*c));// °F
+printf('\nThe temperature of the water when the machine is turned off,T_2=%3.0f°F',T_2)
|