summaryrefslogtreecommitdiff
path: root/3875/CH7/EX7.5/Ex7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH7/EX7.5/Ex7_5.sce')
-rw-r--r--3875/CH7/EX7.5/Ex7_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3875/CH7/EX7.5/Ex7_5.sce b/3875/CH7/EX7.5/Ex7_5.sce
new file mode 100644
index 000000000..ce094e2a3
--- /dev/null
+++ b/3875/CH7/EX7.5/Ex7_5.sce
@@ -0,0 +1,14 @@
+clc;
+clear;
+N2_by_N1=10^-30 //ratio of energy levels
+K_b=1.38*10^-23 //Boltzmann constant J/K
+T=300 //Temperature in K
+h=6.63*10^-34 //Plancks constant in J-s
+c=3*10^8 //velocity of light in m/s
+
+//calculation
+
+lambda=(h*c)/(30*K_b*T)
+
+mprintf("The wavelength of the radiation emitted is = %e m",lambda)
+//The answer given in the textbook is wrong.