diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3638/CH11/EX11.2/Ex11_2.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3638/CH11/EX11.2/Ex11_2.sce')
-rw-r--r-- | 3638/CH11/EX11.2/Ex11_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3638/CH11/EX11.2/Ex11_2.sce b/3638/CH11/EX11.2/Ex11_2.sce new file mode 100644 index 000000000..861d3897e --- /dev/null +++ b/3638/CH11/EX11.2/Ex11_2.sce @@ -0,0 +1,21 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 11.2
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+//For Cr+3 ions in ruby
+N1=1.6e19;//Population density of E1 energy level in cm^(-3)
+N2=0;//Population density of E2 energy level in cm^(-3)
+n=1.76;//refractive index of medium
+Tsp=3e-3;//Spontaneous emission lifetime of atom in sec
+//Let g(v0) be g
+g=6.9e-12;//normalized lineshape function in s
+lambda0=694.3e-7;//wavelength at which absorption takes place in cm
+c=3e10;//speed of electrons in cm/s
+v=c/lambda0;
+//Let Y(v0) be Y
+Y=((c/n)^2)*g*(N2-N1)/(8*%pi*Tsp*(v^2));//Corresponding gain coefficient of medium
+mprintf("\n Absorption coefficient = %f",Y);//The answers vary due to round off error
+//negative sign implies absorption
|