summaryrefslogtreecommitdiff
path: root/3822/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3822/CH2/EX2.3/Ex2_3.sce')
-rw-r--r--3822/CH2/EX2.3/Ex2_3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3822/CH2/EX2.3/Ex2_3.sce b/3822/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..29afd54e4
--- /dev/null
+++ b/3822/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,19 @@
+
+//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
+//Example 2.3
+//OS = Windows 7
+//Scilab version 5.5.2
+
+clc;
+clear;
+
+//given
+n1=1.6;//core and cladding refractive index of first fiber
+n2=1.44;//core and cladding refractive index of second fiber
+lamda=0.8;//wavelength of the electromagnetic wave in um
+c=(2*%pi)/lamda;//constant value propagation constant
+betamax=c*n1;//maximum value of maximum value of beta
+betamin=c*n2;//minimum value of minimum value of beta
+mprintf("\n Maximum value of Beta is= %.2f rad/um ",betamax);
+mprintf("\n Minimum value of Beta is= %.2f rad/um",betamin);
+//The answer vary due to rounding