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