summaryrefslogtreecommitdiff
path: root/3840/CH11/EX11.5/Ex11_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3840/CH11/EX11.5/Ex11_5.sce')
-rw-r--r--3840/CH11/EX11.5/Ex11_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3840/CH11/EX11.5/Ex11_5.sce b/3840/CH11/EX11.5/Ex11_5.sce
new file mode 100644
index 000000000..72ee299ee
--- /dev/null
+++ b/3840/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+NA=0.39 //numerical aperture
+n1_n2=0.05 //difference in refractive indices
+
+//Calculation
+n1n2=NA**2/n1_n2
+n2=(n1n2-n1_n2)/2 //Cladding refractive index
+n1=n2+n1_n2 //Core refractive index
+
+//Result