summaryrefslogtreecommitdiff
path: root/680/CH9/EX9.07/9_07.sce
blob: 63a349d5ab16e4266906e63c23822df299c1e0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Problem 9.07:

//initializing the variables:

//calculation:
//Since enthalpy is a point function, it is reasonable to assume that the temperature effects are additive. Therefore, the temperature increases are:
//Scenario 1: DT = DT1.5 - DT0.0
DT1 = 10 - 0 
//Scenario 2: DT = DT3.0-DT1.5
DT2 = 15 - 10

printf("\n\nResult\n\n")
printf("\n the discharge temperature increase for scenario 1 is %.0f degC and for scenario 2 is %.0f degC",DT1,DT2)