blob: 724a9320e47e49a4f70ec40faa024d55bfebc29c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
clear
//INPUT
r1=60;//distance of first black body in cm
r2=30;//distance of second black body in cm
t1=873;//temperature of first black body in K
t2=573;//temperature of the second black body in K
//CALCULATIONS
i=(t2^4/t1^4)*(r1^2/r2^2);//ratio of intensity of radition
//OUTPUT
mprintf('ratio of intensity of radition is %3.2f',i)
|