summaryrefslogtreecommitdiff
path: root/1271/CH5/EX5.4
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH5/EX5.4')
-rwxr-xr-x1271/CH5/EX5.4/4.txt2
-rwxr-xr-x1271/CH5/EX5.4/example5_4.sce10
2 files changed, 12 insertions, 0 deletions
diff --git a/1271/CH5/EX5.4/4.txt b/1271/CH5/EX5.4/4.txt
new file mode 100755
index 000000000..7d7ecd6ed
--- /dev/null
+++ b/1271/CH5/EX5.4/4.txt
@@ -0,0 +1,2 @@
+ Numerical aperture = 0.560357.
+ Maximum incidence angle = 34.080492 degree.
diff --git a/1271/CH5/EX5.4/example5_4.sce b/1271/CH5/EX5.4/example5_4.sce
new file mode 100755
index 000000000..017688d16
--- /dev/null
+++ b/1271/CH5/EX5.4/example5_4.sce
@@ -0,0 +1,10 @@
+clc
+// Given that
+mu1 = 1.62 // refractive index for core
+mu2 = 1.52 // refractive index for cladding
+// Sample Problem 4 on page no. 5.17
+printf("\n # PROBLEM 4 # \n")
+NA = sqrt(mu1^2 - mu2^2)
+theta_0 = asin(NA) * (180 / %pi)
+printf("\n Standard formula used \n NA = sqrt(mu1^2 - mu2^2). \n theta_0 = asin(NA) * (180 / pi). \n")
+printf("\n Numerical aperture = %f. \n Maximum incidence angle = %f degree.",NA,theta_0)