summaryrefslogtreecommitdiff
path: root/2216/CH11/EX11.2/ex_11_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2216/CH11/EX11.2/ex_11_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2216/CH11/EX11.2/ex_11_2.sce')
-rwxr-xr-x2216/CH11/EX11.2/ex_11_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2216/CH11/EX11.2/ex_11_2.sce b/2216/CH11/EX11.2/ex_11_2.sce
new file mode 100755
index 000000000..58dfbd95d
--- /dev/null
+++ b/2216/CH11/EX11.2/ex_11_2.sce
@@ -0,0 +1,19 @@
+//Example 11.2:position
+clc;
+clear;
+close;
+a=8.2;//in micro meter
+n1=1.45;//
+n2=1.446;//
+h1=1.31;//in micro meter
+h2=1.55;///in micro meter
+v1=((2*%pi*a*sqrt(n1^2-n2^2))/h1);//
+v2=((2*%pi*a*sqrt(n1^2-n2^2))/h2);//
+db=2.439;//
+del=5.5096*10^-3;//
+k1=1.0483;//mm^-1;//
+k2=1.2839///m^-1
+l1=((%pi)/(4*k1));//in mm
+l2=((%pi)/(4*k2));//in mm
+disp("output port positioned at "+string(l2)+" mm with respect to the input port will gather signals at h1=1310nm")
+disp("output port positioned at "+string(l1)+" mm with respect to the input port will gather signals at h1=1550nm")