summaryrefslogtreecommitdiff
path: root/3740/CH8/EX8.4/Ex8_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH8/EX8.4/Ex8_4.sce')
-rw-r--r--3740/CH8/EX8.4/Ex8_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3740/CH8/EX8.4/Ex8_4.sce b/3740/CH8/EX8.4/Ex8_4.sce
new file mode 100644
index 000000000..ab450b7a8
--- /dev/null
+++ b/3740/CH8/EX8.4/Ex8_4.sce
@@ -0,0 +1,19 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 8.4
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+n1=1.48;//Dimensionless refractive index of fiber core
+n2=1.46;//Dimensionless refractive index of fiber cladding
+n0=1;//Dimensionless refractive index of air
+a=100e-6;//Core radius in m
+Lambda0=900e-9;//Vacuum wavelength in m
+
+V=2*%pi*(a/Lambda0)*sqrt((n1^2)-(n2^2));//Dimensionless normalized film thickness
+mprintf("\n V = %.1f",V);
+
+N=(V^2)/2;//Number of modes of propagation
+mprintf("\n N = %d",N);