summaryrefslogtreecommitdiff
path: root/1847/CH7/EX7.2/Ch07Ex2.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.2/Ch07Ex2.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.2/Ch07Ex2.sce')
-rwxr-xr-x1847/CH7/EX7.2/Ch07Ex2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1847/CH7/EX7.2/Ch07Ex2.sce b/1847/CH7/EX7.2/Ch07Ex2.sce
new file mode 100755
index 000000000..503c1ac4d
--- /dev/null
+++ b/1847/CH7/EX7.2/Ch07Ex2.sce
@@ -0,0 +1,16 @@
+// Scilab Code Ex7.2:: Page-7.8 (2009)
+clc; clear;
+n1 = 1.50; // Refractive index of core material of fibre
+n2 = 1.47; // Refractive index of cladding material of fibre
+phi_C = asind(n2/n1); // Critical angle of optical fibre, degrees
+NA = sqrt(n1^2-n2^2); // Numerical aperture for the fibre
+theta_Q = asind(sqrt(n1^2-n2^2)); // Acceptance angle of optical fibre, degrees
+
+printf("\nThe critical angle of optical fibre = %4.1f degrees", phi_C);
+printf("\nThe numerical aperture for the fibre = %5.3f", NA);
+printf("\nThe angle of acceptance cone = %5.1f degrees", theta_Q);
+
+// Result
+// The critical angle of optical fibre = 78.5 degrees
+// The numerical aperture for the fibre = 0.298
+// The angle of acceptance cone = 17.4 degrees