diff options
Diffstat (limited to '3363/CH1/EX1.1/EX1_1.sce')
-rwxr-xr-x | 3363/CH1/EX1.1/EX1_1.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/3363/CH1/EX1.1/EX1_1.sce b/3363/CH1/EX1.1/EX1_1.sce new file mode 100755 index 000000000..790140ad9 --- /dev/null +++ b/3363/CH1/EX1.1/EX1_1.sce @@ -0,0 +1,11 @@ +//Example 1.1, page 24 +clear +//For sun +sigma=5.67*10^-8//w/m^2-k^4 +T=5700//in K +ST_sun=sigma*T^4 +printf("\n Surface temperature of sun is %e W/m^2.",ST_sun) +//For north star +T=8300//in K +ST_Northstar=sigma*T^4 +printf("\n Surface temperature of sun is %e W/m^2.",ST_Northstar) |