summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.8/Ex5_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH5/EX5.8/Ex5_8.sce')
-rw-r--r--3869/CH5/EX5.8/Ex5_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3869/CH5/EX5.8/Ex5_8.sce b/3869/CH5/EX5.8/Ex5_8.sce
new file mode 100644
index 000000000..5b58bd099
--- /dev/null
+++ b/3869/CH5/EX5.8/Ex5_8.sce
@@ -0,0 +1,14 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n1=1.55 //Core refractive index
+n2=1.50 //Cladding refractive index
+
+//Calculation
+NA=sqrt(n1**2-n2**2) //numerical aperture
+
+//Result
+printf("\n numerical aperture is %0.3f ",NA)