summaryrefslogtreecommitdiff
path: root/401/CH2/EX2.5/Example2_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /401/CH2/EX2.5/Example2_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '401/CH2/EX2.5/Example2_5.sce')
-rwxr-xr-x401/CH2/EX2.5/Example2_5.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/401/CH2/EX2.5/Example2_5.sce b/401/CH2/EX2.5/Example2_5.sce
new file mode 100755
index 000000000..443d0520c
--- /dev/null
+++ b/401/CH2/EX2.5/Example2_5.sce
@@ -0,0 +1,21 @@
+//Example 2.5
+//Program to estimate total number of guided modes propagating in the fiber
+
+clear;
+clc ;
+close ;
+
+//Given data
+NA=0.2; //NUMERICAL APERTURE
+d=50*10^(-6); //metre - CORE DIAMETER
+lambda=1*10^(-6); //metre - OPERATING WAVELENGTH
+a=d/2; //CORE RADIUS
+
+//Normalized Frequency for the fiber
+V=2*%pi/lambda*a*NA;
+
+//Mode Volume for parabolic profile
+M=(V^2)/4;
+
+//Displaying the Results in Command Window
+printf("\n\n\t The number of modes supported by fiber is %1.0f.",M); \ No newline at end of file