diff options
Diffstat (limited to '3411/CH6/EX6.6/Ex6_6.sce')
-rw-r--r-- | 3411/CH6/EX6.6/Ex6_6.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3411/CH6/EX6.6/Ex6_6.sce b/3411/CH6/EX6.6/Ex6_6.sce new file mode 100644 index 000000000..c45f500f5 --- /dev/null +++ b/3411/CH6/EX6.6/Ex6_6.sce @@ -0,0 +1,14 @@ +//Example 6_6
+clc();
+clear;
+//To calculate the ratio of stimulated emission to Spontaneous emission
+h=6.63*10^-34
+c=3*10^8
+lamda=694.3*10^-9
+kb=1.38*10^-23
+T=300
+constant=(h*c)/(lamda*kb*T)
+R=1/(exp(constant)-1)
+printf("The ratio of stimulated emission to Spontaneous emission is R=")
+disp(R)
+//In text book answer is given R=4.98*10^-14 but the correct answer is R=8.874D-31
\ No newline at end of file |