summaryrefslogtreecommitdiff
path: root/1847/CH7/EX7.3/Ch07Ex3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1847/CH7/EX7.3/Ch07Ex3.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 '1847/CH7/EX7.3/Ch07Ex3.sce')
-rwxr-xr-x1847/CH7/EX7.3/Ch07Ex3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1847/CH7/EX7.3/Ch07Ex3.sce b/1847/CH7/EX7.3/Ch07Ex3.sce
new file mode 100755
index 000000000..4aae2c44d
--- /dev/null
+++ b/1847/CH7/EX7.3/Ch07Ex3.sce
@@ -0,0 +1,18 @@
+// Scilab Code Ex7.3:: Page-7.8 (2009)
+clc; clear;
+n1 = 1.46; // Refractive index of the core material
+delta = 0.01; // Relative refractive index difference
+NA = n1*sqrt(2*delta); // Numerical aperture for the fibre
+theta_Q = %pi*NA^2; // Solid acceptance angle of optical fibre for small angles, radians
+// As relative refractive index, delta = 1-n2/n1, solving for n2
+n2 = n1*(1-delta); // Refractive index of cladding
+phi_C = asind(n2/n1); // Critical angle of optical fibre, degrees
+
+printf("\nThe numerical aperture for the fibre = %4.2f", NA);
+printf("\nThe solid acceptance angle of the optical fibre = %4.2f radians", theta_Q);
+printf("\nThe critical angle of optical fibre = %4.1f degrees", phi_C);
+
+// Result
+// The numerical aperture for the fibre = 0.21
+// The solid acceptance angle of the optical fibre = 0.13 radians
+// The critical angle of optical fibre = 81.9 degrees