summaryrefslogtreecommitdiff
path: root/1286/CH14/EX14.9/14_9.sce
blob: 3cfc4afd99b954a456601e6f0995ea4d76dc0327 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisation
l=4753*10^-8//cm
w=0.293
t=10^7//k
//CALCULATIONS
T=w/l
lm=w/(t*100)
//results
printf(' \n effective temperature of sun= % 1f k',T)
printf(' \n wavelength of max energy= % 1e m',lm)