blob: 554e717285b4455ca8f51ae1ce874edecbc28094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Variable declaration:
//From example 10.9:
h = 9.01 //Heat transferred from bulb (W/m^2.K)
D = 0.06 //Diameter of sphere (m)
Ts = 113.0+273.0 //Surface temperature of bulb (K)
Too = 31.0+273.0 //Ambient air temperature (K)
//Calculation:
A = %pi*D**2 //Surface area of bulb (m^2)
Q = h*A*(Ts-Too) //Heat transfer lost by free convection from light bulb (W)
//Result:
printf("The heat transfer lost by free convection from light bulb is : %.2f W .",Q)
|