summaryrefslogtreecommitdiff
path: root/965/CH11/EX11.2/2.sci
blob: 8d1aac88bbea1c68c2dc8eb7e88ffe5cbaf13385 (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear all;
disp("surface temperature of sun")
lmax=0.49;//mu m
T=2898/lmax;//mu.m
disp("K",T, "surface temperature of sun = ")

sigma=5.67*10^(-8);
Eb=sigma*T^4;//W/m^2
disp("W/m^2",Eb,"The total rate of energy emmision, Eb =")