diff options
Diffstat (limited to '3740/CH6/EX6.2/Ex6_2.sce')
-rw-r--r-- | 3740/CH6/EX6.2/Ex6_2.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3740/CH6/EX6.2/Ex6_2.sce b/3740/CH6/EX6.2/Ex6_2.sce new file mode 100644 index 000000000..3f176da99 --- /dev/null +++ b/3740/CH6/EX6.2/Ex6_2.sce @@ -0,0 +1,17 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 6.2
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+Ni=1e24;//Population Inversion in m^-3
+Nu21=5e14;//Frequency of laser in Hz
+V=1e-5;//Volume in m^3
+h=6.63e-34;//Planck's constant in SI Units
+
+//Assuming Nf<<Ni, we get
+E=(1/2)*h*Nu21*Ni*V;//Total energy emitted in the pulse in J
+mprintf("\n E= %.1f J",E)
+
|