summaryrefslogtreecommitdiff
path: root/3755/CH5/EX5.1/Ex5_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH5/EX5.1/Ex5_1.sce')
-rw-r--r--3755/CH5/EX5.1/Ex5_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3755/CH5/EX5.1/Ex5_1.sce b/3755/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..e58f212d5
--- /dev/null
+++ b/3755/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+b=2.92*10^-3; //value of b(mK)
+lamda=4900*10^-10; //wavelength(m)
+
+//Calculations
+T=b/lamda; //temperature(K)
+
+//Result
+printf("\n temperature is %0.0f K",T)
+printf("\n answer in the book is wrong")