summaryrefslogtreecommitdiff
path: root/1286/CH14/EX14.9
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH14/EX14.9')
-rwxr-xr-x1286/CH14/EX14.9/14_9.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1286/CH14/EX14.9/14_9.sce b/1286/CH14/EX14.9/14_9.sce
new file mode 100755
index 000000000..3cfc4afd9
--- /dev/null
+++ b/1286/CH14/EX14.9/14_9.sce
@@ -0,0 +1,11 @@
+clc
+//initialisation
+l=4753*10^-8//cm
+w=0.293
+t=10^7//k
+//CALCULATIONS
+T=w/l
+lm=w/(t*100)
+//results
+printf(' \n effective temperature of sun= % 1f k',T)
+printf(' \n wavelength of max energy= % 1e m',lm)