summaryrefslogtreecommitdiff
path: root/1871/CH12/EX12.3/Ch12Ex3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH12/EX12.3/Ch12Ex3.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 '1871/CH12/EX12.3/Ch12Ex3.sce')
-rwxr-xr-x1871/CH12/EX12.3/Ch12Ex3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1871/CH12/EX12.3/Ch12Ex3.sce b/1871/CH12/EX12.3/Ch12Ex3.sce
new file mode 100755
index 000000000..433a8395e
--- /dev/null
+++ b/1871/CH12/EX12.3/Ch12Ex3.sce
@@ -0,0 +1,11 @@
+// Scilab code Ex12.3: Pg:467 (2008)
+clc;clear;
+n1 = 1.45; // Core refractive index of an fibre
+d = 0.6; // Core diameter of fiber, m
+NA = 0.16; // Numerical aperture of fiber
+lambda_0 = 9e-007; // Wavelength of light, m
+V = %pi*d*NA/lambda_0; // Normalized frequency (V-number)for the fiber
+printf("\nThe normalized frequency for fiber = %4.2e ", V);
+
+// Result
+// The normalized frequency for fiber = 3.35e+005 \ No newline at end of file