diff options
Diffstat (limited to '2870/CH2/EX2.15/Ex2_15.sce')
-rwxr-xr-x | 2870/CH2/EX2.15/Ex2_15.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2870/CH2/EX2.15/Ex2_15.sce b/2870/CH2/EX2.15/Ex2_15.sce new file mode 100755 index 000000000..4c8c26fec --- /dev/null +++ b/2870/CH2/EX2.15/Ex2_15.sce @@ -0,0 +1,19 @@ +clc;clear;
+//Example 2.15
+
+//given values
+Ein=2;
+n1=0.73;
+n2=0.38;//efficency n1 and n2
+CinH=0.09;
+CinB=0.55;//unit cost of electricity and natural gas
+
+//calculation
+QutH= Ein * n1;
+disp(QutH,'rate of energy consumption by the heater in kW');
+CutH= CinH / n1;
+disp(CutH,'the unit cost of utilized energy for heater in USD');
+QutB= QutH / n2 ;
+disp(QutB,'rate of energy consumption by the burner in kW');
+CutB= CinB / n2 / 29.3; // 1 therm = 29.3 kWh
+disp(CutB,'the unit cost of utilized energy for burner in USD')
|