summaryrefslogtreecommitdiff
path: root/401/CH3/EX3.11
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.11
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.11')
-rwxr-xr-x401/CH3/EX3.11/Example3_11.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/401/CH3/EX3.11/Example3_11.sce b/401/CH3/EX3.11/Example3_11.sce
new file mode 100755
index 000000000..cc25eb039
--- /dev/null
+++ b/401/CH3/EX3.11/Example3_11.sce
@@ -0,0 +1,29 @@
+//Example 3.11
+//Program to compare the total first order dispersion and determine
+//waveguide dispersion
+
+clear;
+clc ;
+close ;
+
+//Given data
+lambda0=1310; //nm - ZERO DISPERSION WAVELENGTH
+So=0.09*10^(-12); //s/nm^2/km - DISPERSION SLOPE
+
+//Dt at 1280nm
+lambda1=1280; //nm - OPERATING WAVELENGTH
+Dt1=lambda1*So/4*(1-(lambda0/lambda1)^4);
+
+//Dt at 1550nm
+lambda2=1550; //nm - OPERATING WAVELENGTH
+Dt2=lambda2*So/4*(1-(lambda0/lambda2)^4);
+
+//Waveguide Dispersion at 1550nm
+Dm=13.5*10^(-12); //s/nm/km - MATERIAL DISPERSION
+Dp=0.4*10^(-12); //s/nm/km - PROFILE DISPERSION
+Dw=Dt2-(Dm+Dp);
+
+//Displaying the Results in Command Window
+printf("\n\n\t Dt(1280nm) = %0.1f ps/nm/km.",Dt1/10^(-12));
+printf("\n\n\t Dt(1550nm) = %0.1f ps/nm/km.",Dt2/10^(-12));
+printf("\n\n\t Dw = %0.1f ps/nm/km.",Dw/10^(-12)); \ No newline at end of file