summaryrefslogtreecommitdiff
path: root/2216/CH3/EX3.2/ex_3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2216/CH3/EX3.2/ex_3_2.sce')
-rwxr-xr-x2216/CH3/EX3.2/ex_3_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2216/CH3/EX3.2/ex_3_2.sce b/2216/CH3/EX3.2/ex_3_2.sce
new file mode 100755
index 000000000..98e08717f
--- /dev/null
+++ b/2216/CH3/EX3.2/ex_3_2.sce
@@ -0,0 +1,10 @@
+//Example 3.2 // thickness
+clc;
+clear;
+close;
+format('v',6)
+n1=3.6;//core refractive index
+n2=3.56;//cladding refrative index
+h=0.85;//wavelength in µm
+a=((h/(2*sqrt(n1^2-n2^2))));//thickness in µm
+disp("thicknes of the slab should not be greater than "+string(a)+" µm")