summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.5/Ex10_5.sce
blob: cbb9b2021f65503b9fe52b69c3d2903ad47157a1 (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear;
T0=293 //temperature of the surrounding
T1=373 //temperature of the black body in case 1
T2=303 //temperature of the black body in case 2

//calculation

E1_by_E2=(T1^4-T0^4)/(T2^4-T0^4)
mprintf("The ratio of how much body cools in the first case to the second case is = %2.1f",E1_by_E2)