summaryrefslogtreecommitdiff
path: root/401/CH3/EX3.9
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.9
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.9')
-rwxr-xr-x401/CH3/EX3.9/Example3_9.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/401/CH3/EX3.9/Example3_9.sce b/401/CH3/EX3.9/Example3_9.sce
new file mode 100755
index 000000000..e97565ee9
--- /dev/null
+++ b/401/CH3/EX3.9/Example3_9.sce
@@ -0,0 +1,24 @@
+//Example 3.9
+//Program to compare rms pulse broadening per kilometer due to
+//intermodal dispersion for multimode step index fiber with that of
+//near parabolic graded index fiber
+
+clear;
+clc ;
+close ;
+
+//Given data
+delta=0.01; //*100 percent - RELATIVE REFRACTIVE INDEX DIFFERENCE
+L=1; //km - LENGTH OF OPTICAL LINK
+n1=1.5; //CORE REFRACTIVE INDEX
+c=2.998*10^8; //m/s - VELOCITY OF LIGHT IN VACCUM
+
+//RMS pulse broadening /km due to intermodal dispersion for MMSI Fiber
+sigma_s=L*n1*delta/(2*sqrt(3)*c);
+
+//RMS pulse broadening /km for near parabolic graded index fiber
+sigma_g=L*n1*delta^2/(20*sqrt(3)*c);
+
+//Displaying the Results in Command Window
+printf("\n\n\t RMS pulse broadening per kilometer due to intermodal dispersion for MMSI Fiber is %0.1f ns/km.",sigma_s/10^(-12));
+printf("\n\n\t RMS pulse broadening per kilometer for near parabolic graded index fiber is %0.1f ps/km.",sigma_g/10^(-15)); \ No newline at end of file