summaryrefslogtreecommitdiff
path: root/3740/CH8/EX8.2
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH8/EX8.2')
-rw-r--r--3740/CH8/EX8.2/Ex8_2.jpgbin0 -> 59237 bytes
-rw-r--r--3740/CH8/EX8.2/Ex8_2.sce19
2 files changed, 19 insertions, 0 deletions
diff --git a/3740/CH8/EX8.2/Ex8_2.jpg b/3740/CH8/EX8.2/Ex8_2.jpg
new file mode 100644
index 000000000..30b4147de
--- /dev/null
+++ b/3740/CH8/EX8.2/Ex8_2.jpg
Binary files differ
diff --git a/3740/CH8/EX8.2/Ex8_2.sce b/3740/CH8/EX8.2/Ex8_2.sce
new file mode 100644
index 000000000..389533bd9
--- /dev/null
+++ b/3740/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,19 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 8.2
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+n1=1.48;//Dimensionless refractive index of core
+n2=1.46;//Dimensionless refractive index of cladding
+d=100e-6;//Width of the waveguide in m
+Lambda0=1e-6;//Vacuum wavelength in m
+
+V=%pi*(d/Lambda0)*sqrt((n1^2)-(n2^2));//Dimensionless normalized film thickness
+mprintf("\n V = %.1f",V);
+
+//Let the total number of possible modes be 'N'
+N=2*(1 + floor(2*V/%pi));
+mprintf("\n N = %d",N);