blob: c84156c981f6a34d22057b859d995cce0d36cd6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
clear
//Initialization of variables
F=0.51
A1=8 //ft^2
sigma=0.1714
T1=2260 //R
T2=530 //R
//calculations
Q12=A1*F*sigma*((T1/100)^4 -(T2/100)^4)
//results
printf("Net exchange of radiation = %d Btu/hr",Q12)
disp("The answer in the textbook is a bit different due to rounding off error in textbook.")
|