summaryrefslogtreecommitdiff
path: root/3755/CH5/EX5.5/Ex5_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH5/EX5.5/Ex5_5.sce')
-rw-r--r--3755/CH5/EX5.5/Ex5_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3755/CH5/EX5.5/Ex5_5.sce b/3755/CH5/EX5.5/Ex5_5.sce
new file mode 100644
index 000000000..932a59192
--- /dev/null
+++ b/3755/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+T=1127+273; //temperature(K)
+lamda_m=2*10^-6; //wavelength(m)
+lamda=14*10^-6; //wavelength(m)
+
+//Calculations
+Tm=lamda_m*T/lamda; //temperature of moon(K)
+
+//Result
+printf("\n temperature of moon is %0.0f K",Tm)