summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.4
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH10/EX10.4')
-rw-r--r--3875/CH10/EX10.4/10_4.txt1
-rw-r--r--3875/CH10/EX10.4/Ex10_4.sce12
2 files changed, 13 insertions, 0 deletions
diff --git a/3875/CH10/EX10.4/10_4.txt b/3875/CH10/EX10.4/10_4.txt
new file mode 100644
index 000000000..f323422fc
--- /dev/null
+++ b/3875/CH10/EX10.4/10_4.txt
@@ -0,0 +1 @@
+ The surface temperature of the sun = 5795 K \ No newline at end of file
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.