summaryrefslogtreecommitdiff
path: root/3834/CH3/EX3.3.1/Ex3_3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3834/CH3/EX3.3.1/Ex3_3_1.sce')
-rw-r--r--3834/CH3/EX3.3.1/Ex3_3_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3834/CH3/EX3.3.1/Ex3_3_1.sce b/3834/CH3/EX3.3.1/Ex3_3_1.sce
new file mode 100644
index 000000000..b98c06476
--- /dev/null
+++ b/3834/CH3/EX3.3.1/Ex3_3_1.sce
@@ -0,0 +1,18 @@
+//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 3.3.1
+//windows 7
+//Scilab version-6.0.0
+clc;
+clear;
+//given
+d=62.5E-6;//core diameter in SI units
+NA=0.275;//numerical aperture
+lambda=1300E-9;//operating wavelength lambda in m
+
+x=3.14*d*NA;
+
+V=x/lambda;
+
+N=(V^2)/4;
+
+mprintf("Number of modes for graded index fiber = %.0f",N);