summaryrefslogtreecommitdiff
path: root/551/CH15/EX15.24/24.sce
blob: b99fb8f1b286b15ba0cab96a3286116e222ccc02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
wavelength=0.49; //μm
a=5.67*10^(-8);

disp("(i) The surface temperature of the sun")
T=2898/wavelength;
disp(T)
disp("K")


disp("(ii) The heat flux at the surface of the sun =")
E_sun=a*T^4;
disp(E_sun)
disp("W/m^2")