summaryrefslogtreecommitdiff
path: root/401/CH3/EX3.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /401/CH3/EX3.4
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 '401/CH3/EX3.4')
-rwxr-xr-x401/CH3/EX3.4/Example3_4.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/401/CH3/EX3.4/Example3_4.sce b/401/CH3/EX3.4/Example3_4.sce
new file mode 100755
index 000000000..08165c97c
--- /dev/null
+++ b/401/CH3/EX3.4/Example3_4.sce
@@ -0,0 +1,32 @@
+//Example 3.4
+//Program to estimate critical radius of curvature at which large
+//bending loss occur
+
+clear;
+clc ;
+close ;
+
+//Given data for part (a)
+n1=1.500; //metre - LENGTH
+delta=0.03; //*100 percent - RELATIVE REFRACTIVE INDEX DIFFERENCE
+lambda=0.82*10^(-6); //metre - OPERATING WAVELENGTH
+
+//Calculation of the radius of curvature of Multi Mode fiber
+n2=sqrt(n1^2-2*delta*n1^2);
+Rc=3*n1^2*lambda/(4*%pi*(n1^2-n2^2)^(3/2));
+
+//Given data for part (b)
+n1=1.500; //metre - LENGTH
+delta=0.003; //*100 percent - RELATIVE REFRACTIVE INDEX DIFFERENCE
+lambda=1.55*10^(-6); //metre - OPERATING WAVELENGTH
+d=8*10^(-6); //metre - CORE DIAMETER
+
+//Calculation of the radius of curvature of Single Mode fiber
+n2=sqrt(n1^2-2*delta*n1^2);
+a=d/2;
+lambda_c=2*%pi*a*n1*sqrt(2*delta)/2.405;
+Rcs=20*lambda*(2.748-0.996*lambda/lambda_c)^(-3)/(n1-n2)^(3/2);
+
+//Displaying the Results in Command Window
+printf("\n\n\t (a)The radius of curvature of Multi Mode fiber is %1.0f um.",Rc/10^(-6));
+printf("\n\n\t (b)The radius of curvature of Single Mode fiber is %1.0f mm.",Rcs/10^(-3)); \ No newline at end of file