summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.16/Ex5_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH5/EX5.16/Ex5_16.sce')
-rw-r--r--3869/CH5/EX5.16/Ex5_16.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3869/CH5/EX5.16/Ex5_16.sce b/3869/CH5/EX5.16/Ex5_16.sce
new file mode 100644
index 000000000..6881a602b
--- /dev/null
+++ b/3869/CH5/EX5.16/Ex5_16.sce
@@ -0,0 +1,16 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n1=1.563 //Core refractive index
+n2=1.498 //Cladding refractive index
+
+//Calculation
+NA=sqrt(n1**2-n2**2) //numerical aperture
+theta0=asin(NA)*180/%pi //acceptance angle(degrees)
+
+//Result
+printf("\n numerical aperture is %0.4f ",NA)
+printf("\n acceptance angle is %0.2f degrees",theta0)