summaryrefslogtreecommitdiff
path: root/3669/CH11/EX11.3
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH11/EX11.3')
-rw-r--r--3669/CH11/EX11.3/3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3669/CH11/EX11.3/3.sce b/3669/CH11/EX11.3/3.sce
new file mode 100644
index 000000000..be1227a89
--- /dev/null
+++ b/3669/CH11/EX11.3/3.sce
@@ -0,0 +1,10 @@
+
+//Variable declaration
+n1=1.563; //refractive index of core
+n2=1.498; //refractive index of cladding
+
+//Calculation
+delta=(n1-n2)/n1; //fractional refractive indices change
+
+//Result
+printf('fractional refractive indices change is %0.3f \n',(delta))