diff options
Diffstat (limited to '3875/CH10/EX10.4/Ex10_4.sce')
-rw-r--r-- | 3875/CH10/EX10.4/Ex10_4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3875/CH10/EX10.4/Ex10_4.sce b/3875/CH10/EX10.4/Ex10_4.sce new file mode 100644 index 000000000..6dd07bc90 --- /dev/null +++ b/3875/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,12 @@ +clc;
+clear;
+S=1.4*10^3 //rate of suns energy striking in watt/m^2
+r=1.5*10^11 //radius of earths orbit in m
+R=7*10^8 //radius of sun in m
+sigma=5.7*10^-8 //Stefan-Boltzmann Constant in J/m^2sK^4
+
+//calculation
+T=((S*r^2)/(sigma*R^2))^(1/4)
+
+mprintf("The surface temperature of the sun = %d K",T)
+//The answer provided in the textbook is wrong.
|