summaryrefslogtreecommitdiff
path: root/1946/CH2/EX2.28
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1946/CH2/EX2.28
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 '1946/CH2/EX2.28')
-rwxr-xr-x1946/CH2/EX2.28/Ex_2_28.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1946/CH2/EX2.28/Ex_2_28.sce b/1946/CH2/EX2.28/Ex_2_28.sce
new file mode 100755
index 000000000..218b6b0d3
--- /dev/null
+++ b/1946/CH2/EX2.28/Ex_2_28.sce
@@ -0,0 +1,14 @@
+// Example 2.28:Core diameter
+clc;
+clear;
+close;
+n1=1.5;//Core Refractive Index
+d= 0.01;// Cange in core-cladding refractive index
+alpha=2;// index profile
+h=1.3;//wavelngth in micro meters
+Vc=2.405*sqrt(1+2/alpha);
+a=(Vc*h)/(2*%pi*n1*sqrt(2*d));
+di=2*a;
+disp(di,"core diameter in micro meters")
+//answer is calculated wrong in the textbook
+