summaryrefslogtreecommitdiff
path: root/1061/CH10/EX10.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1061/CH10/EX10.10
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 '1061/CH10/EX10.10')
-rwxr-xr-x1061/CH10/EX10.10/Ex10_10.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1061/CH10/EX10.10/Ex10_10.sce b/1061/CH10/EX10.10/Ex10_10.sce
new file mode 100755
index 000000000..43618f25d
--- /dev/null
+++ b/1061/CH10/EX10.10/Ex10_10.sce
@@ -0,0 +1,20 @@
+//Ex:10.10
+clc;
+clear;
+close;
+y=860*10^-9;// wavelength in m
+c=3*10^8;// speed of light in m/s
+n1=1.47;//
+dl=0.02;//
+n12=n1*dl;// the difference b/w n1 and n2
+La=1/1000;// loss a in dB/m
+Pr=-65;// receiver power in dB
+Pt=-5;// transmitted power in dB
+dy=30*10^-9;// line width in m
+X=0.024;
+Lmax=(0.35*c*y)/(dy*X);// material dispersion limited distance for RZ coding in m
+L_GI=(1.4*c*n1)/(n12);// model dispersion limited distance for RZ coding in m
+L_At=(Pt-Pr)/(La);// attenuation limited distance for RZ coding in m
+printf("The material dispersion limited distance =%f*10^10*1/Br m", Lmax/10^10);
+printf("\n The model dispersion limited distance =%f*10^10*1/Br m", L_GI/10^10);
+printf("\n The attenuation limited distance =%d-20log(Br) km", L_At/10^3); \ No newline at end of file