diff options
Diffstat (limited to '1847/CH7/EX7.1')
-rwxr-xr-x | 1847/CH7/EX7.1/Ch07Ex1.sce | 13 |
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
|