summaryrefslogtreecommitdiff
path: root/3648/CH26/EX26.5/Ex26_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH26/EX26.5/Ex26_5.sce')
-rw-r--r--3648/CH26/EX26.5/Ex26_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3648/CH26/EX26.5/Ex26_5.sce b/3648/CH26/EX26.5/Ex26_5.sce
new file mode 100644
index 000000000..38a87f075
--- /dev/null
+++ b/3648/CH26/EX26.5/Ex26_5.sce
@@ -0,0 +1,11 @@
+//Example 26_5
+clc();
+clear;
+//To find the energy difference between the n is 1 and n is 2 level
+e1=1 //Units in eV
+lamda2=1240 //Units in eV
+lamda3=0.07 //Units in eV
+e2=lamda2/lamda3 //Units in eV
+e=e2-e1 //Units in eV
+printf("The energy difference between n=1 and n=2 level is E=%d eV",e)
+//In textbook answer is prinred wrong as E=18000 eV the correct answer is E=17713 eV