summaryrefslogtreecommitdiff
path: root/3537/CH6/EX6.5
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH6/EX6.5')
-rw-r--r--3537/CH6/EX6.5/Ex6_5.sce12
-rw-r--r--3537/CH6/EX6.5/Ex6_5.txt2
2 files changed, 14 insertions, 0 deletions
diff --git a/3537/CH6/EX6.5/Ex6_5.sce b/3537/CH6/EX6.5/Ex6_5.sce
new file mode 100644
index 000000000..b2519550b
--- /dev/null
+++ b/3537/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,12 @@
+//Example 6_5
+clc();
+clear;
+//To find the relative population of the states in Ruby laser
+h=6.626*10^-34
+v=3*10^8 //units in met/sec
+kb=1.381*10^-23 //units in J/L
+t=300 //units in K
+n_no=exp((h*v)/(kb*t))
+printf("The relative population of two states is N/N0=")
+disp(n_no)
+//In textb book answer is printed wrong as 8*10^31 correct answer is 1.000048
diff --git a/3537/CH6/EX6.5/Ex6_5.txt b/3537/CH6/EX6.5/Ex6_5.txt
new file mode 100644
index 000000000..401851643
--- /dev/null
+++ b/3537/CH6/EX6.5/Ex6_5.txt
@@ -0,0 +1,2 @@
+The relative population of two states is N/N0= 1.000048
+ \ No newline at end of file