summaryrefslogtreecommitdiff
path: root/1847/CH7/EX7.1
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.1
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.1')
-rwxr-xr-x1847/CH7/EX7.1/Ch07Ex1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1847/CH7/EX7.1/Ch07Ex1.sce b/1847/CH7/EX7.1/Ch07Ex1.sce
new file mode 100755
index 000000000..31a16bf66
--- /dev/null
+++ b/1847/CH7/EX7.1/Ch07Ex1.sce
@@ -0,0 +1,13 @@
+// Scilab Code Ex7.1:: Page-7.7 (2009)
+clc; clear;
+n1 = 1.6; // Refractive index of core material of fibre
+n2 = 1.3; // Refractive index of cladding material of fibre
+phi_C = asind(n2/n1); // Critical angle of optical fibre, degrees
+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 angle of acceptance cone = %5.1f degrees", 2*theta_Q);
+
+// Result
+// The critical angle of optical fibre = 54.3 degrees
+// The angle of acceptance cone = 137.7 degrees