blob: d2c3cfd5b72e53846bc50d934d7fcebb997e72ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Variable declaration:
T1 = 1500.0+460.0 //Absolute temperature 1 (°R)
T2 = 1000.0+460.0 //Absolute temperature 2 (°R)
//Calculation:
X = T1**4/T2**4 //Ratio of quantity of heat transferred
x = 100*(T1**4-T2**4)/T2**4 //Percentage increase in heat transfer (%)
//Result:
printf("The ratio of the quantity/rate of heat transferred is : %.2f .",X)
printf("The percentage increase in heat transfer is : %.0f %%",x)
|