summaryrefslogtreecommitdiff
path: root/3669/CH11/EX11.4
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH11/EX11.4')
-rw-r--r--3669/CH11/EX11.4/4.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3669/CH11/EX11.4/4.sce b/3669/CH11/EX11.4/4.sce
new file mode 100644
index 000000000..b31859731
--- /dev/null
+++ b/3669/CH11/EX11.4/4.sce
@@ -0,0 +1,10 @@
+
+//Variable declaration
+n1=1.55; //refractive index of core
+n2=1.50; //refractive index of cladding
+
+//Calculation
+NA=sqrt((n1**2)-(n2**2)); //numerical aperture
+
+//Result
+printf('numerical aperture is %0.3f \n',(NA)) \ No newline at end of file