summaryrefslogtreecommitdiff
path: root/3543/CH2/EX2.05
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3543/CH2/EX2.05
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3543/CH2/EX2.05')
-rw-r--r--3543/CH2/EX2.05/EX2_5.pngbin0 -> 33529 bytes
-rw-r--r--3543/CH2/EX2.05/Ex2_5.sce22
2 files changed, 22 insertions, 0 deletions
diff --git a/3543/CH2/EX2.05/EX2_5.png b/3543/CH2/EX2.05/EX2_5.png
new file mode 100644
index 000000000..39fc92e3d
--- /dev/null
+++ b/3543/CH2/EX2.05/EX2_5.png
Binary files differ
diff --git a/3543/CH2/EX2.05/Ex2_5.sce b/3543/CH2/EX2.05/Ex2_5.sce
new file mode 100644
index 000000000..451bc8f87
--- /dev/null
+++ b/3543/CH2/EX2.05/Ex2_5.sce
@@ -0,0 +1,22 @@
+// Example 2.5
+// Computation of (a) normalized frequency and (b) no. of guided modes
+// Page no 480
+
+clc;
+clear;
+close;
+
+//Given data
+lambda=0.85*10^-6; // wavelength of fiber
+a=40*10^-6; // core diameter of fiber
+delta=0.015; // relative refractive index
+n1=1.48; // refractive index of core
+
+// (a) Normalized frequency
+v=(2*%pi*a*n1*(2*delta)^(1/2))/lambda;
+//(b) Number of guided modes
+m=v^2/2;
+m=ceil(m);
+//Displaying results in the command window
+printf("\n Normalized frequency is = %0.1f ",v);
+printf("\n Number of guided modes = %0.0f ",m);