summaryrefslogtreecommitdiff
path: root/3506/CH2/EX2.3/Ex_2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3506/CH2/EX2.3/Ex_2_3.sce')
-rw-r--r--3506/CH2/EX2.3/Ex_2_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3506/CH2/EX2.3/Ex_2_3.sce b/3506/CH2/EX2.3/Ex_2_3.sce
new file mode 100644
index 000000000..6863c0633
--- /dev/null
+++ b/3506/CH2/EX2.3/Ex_2_3.sce
@@ -0,0 +1,17 @@
+//Optical Fiber communication by A selvarajan
+//example 2.3
+//OS=Windows XP sp3
+//Scilab version 5.5.1
+clc;
+clear all;
+//given
+ncore=1.505//refractive index of core
+nclad=1.502//refractive index of cladding
+V=2.4//v no. for single mode
+lambda=1300e-9//operating wavelength in m
+//to find
+NA=sqrt(ncore^2-nclad^2)//numerical aperture
+a=V*(lambda)/(2*%pi*NA)//dimension of fiber core in m
+//display
+mprintf("The numarical aperture =%f",NA);
+mprintf("\n Dimension of fiber core =%f um",a*1e6)//multiplication by 1e6 to convert unit from m to um