summaryrefslogtreecommitdiff
path: root/1328/CH2/EX2.4/2_4.sce
blob: b0f4ef99ed81c685695a36b149359ea8e6271f3b (plain)
1
2
3
4
5
6
7
8
9
10
printf("\t example 2.4 \n");
printf("\t approximate values are mentioned in the book \n");
k=0.63; // thermal conductivity of pipe, Btu/(hr)*(ft^2)*(F/ft)
Do=6; // in
Di=5; // in
Ti=200; // inner side temperature,F
To=175; // outer side temperature,F
q=(2*(3.14)*(k)*(Ti-To))/(2.3*log10(Do/Di)); // formula for heat flow,Btu/(hr)*(ft)
printf("\t heat flow is : %.0f Btu/(hr)*(ft) \n",q); // caculation mistake in book
// end