summaryrefslogtreecommitdiff
path: root/1271/CH5/EX5.2
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH5/EX5.2')
-rwxr-xr-x1271/CH5/EX5.2/2.txt2
-rwxr-xr-x1271/CH5/EX5.2/example5_2.sce10
2 files changed, 12 insertions, 0 deletions
diff --git a/1271/CH5/EX5.2/2.txt b/1271/CH5/EX5.2/2.txt
new file mode 100755
index 000000000..1f62a21d2
--- /dev/null
+++ b/1271/CH5/EX5.2/2.txt
@@ -0,0 +1,2 @@
+Numerical aperture = 0.556776.
+ Maximum incidence angle = 33.833159 degree.
diff --git a/1271/CH5/EX5.2/example5_2.sce b/1271/CH5/EX5.2/example5_2.sce
new file mode 100755
index 000000000..c3eb8e9c8
--- /dev/null
+++ b/1271/CH5/EX5.2/example5_2.sce
@@ -0,0 +1,10 @@
+clc
+// Given that
+mu1 = 1.6 // refractive index for core
+mu2 = 1.5 // refractive index for cladding
+// Sample Problem 2 on page no. 5.16
+printf("\n # PROBLEM 2 # \n")
+NA = sqrt(mu1^2 - mu2^2)//calculation for numerical aperture
+theta_0 = asin(NA) * (180 / %pi)//calculation for maximum incidence angle
+printf("Standard formula used \n NA=aqrt(mu1^2-mu2^2),\n sin(theta_)=NA. \n")
+printf("\n Numerical aperture = %f.\n Maximum incidence angle = %f degree.",NA,theta_0)