summaryrefslogtreecommitdiff
path: root/3665/CH13/EX13.4
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH13/EX13.4')
-rw-r--r--3665/CH13/EX13.4/Ex13_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3665/CH13/EX13.4/Ex13_4.sce b/3665/CH13/EX13.4/Ex13_4.sce
new file mode 100644
index 000000000..48776b901
--- /dev/null
+++ b/3665/CH13/EX13.4/Ex13_4.sce
@@ -0,0 +1,13 @@
+clc//
+//
+//
+
+//Variable declaration
+n1=1.563; //refractive index of core
+n2=1.498; //refractive index of cladding
+
+//Calculation
+delta=(n1-n2)/n1; //fractional index change
+
+//Result
+printf("\n fractional index change is %0.4f ",delta)