summaryrefslogtreecommitdiff
path: root/587/CH1/EX1.7/example1_7.sce
blob: c710e0b8c6eb62e5220277d4920ddc126da87ce1 (plain)
1
2
3
4
5
6
7
8
9
10
clear;
clc;

//Example1.7[Conversion between SI and English Units]
W_to_btu_p_h=3.41214;//Conersion from Watt to btu per hour[btu/h]
m_to_ft=3.2808;//Conversion from meter to english unit feet[ft]
deg_C_to_deg_F=1.8;//Conversion from degree Celcius to degree Farenhiet
W_per_m_deg_C=W_to_btu_p_h/(m_to_ft*deg_C_to_deg_F);//Conversion factor for 1W/m.degree Celcius[Btu/h.ft.degree Farenhiet]
k_brick=0.72*W_per_m_deg_C;//[Btu/h.ft.degree Farenhiet]
disp("Btu/h.ft.degree Farenhiet",k_brick,"The thermal conductivity of the brick in English units is")