summaryrefslogtreecommitdiff
path: root/3875/CH9/EX9.4/Ex9_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH9/EX9.4/Ex9_4.sce')
-rw-r--r--3875/CH9/EX9.4/Ex9_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3875/CH9/EX9.4/Ex9_4.sce b/3875/CH9/EX9.4/Ex9_4.sce
new file mode 100644
index 000000000..7aff2104e
--- /dev/null
+++ b/3875/CH9/EX9.4/Ex9_4.sce
@@ -0,0 +1,11 @@
+clc;
+clear;
+n1=1.45 //refractive index of core
+n2=1.40 //refractive index of cladding
+
+//calculation
+NA=sqrt(n1^2-n2^2)
+mprintf("\nThe numerical aperture is = %1.4f.\n",NA)
+
+i_a=asind(NA)
+mprintf("The acceptance angle is = %d degree.",i_a)