//Ex:5.6 clc; clear; close; n1=1.46;// core refractive index dl=0.01;// relative index difference L=10*10^3;// optical length in meter c=3*10^8;// the speed of light in m/s dt=(L*n1*dl)/c;// delay difference in s dT=dt*10^9;// delay difference in ns rm=(L*n1*dl)/(2*sqrt(3)*c);// rms pulse broadening s rM=rm*10^9;// rms pulse broadening ns bt=0.2/rm;// max bit rate in bit/sec bT=bt/10^6;// max bit rate in M bits/sec bl=bt*L;// bandwidth length product in Hz meter bL=(bt*L)/(10^6*10^3);// bandwidth length product in MHz km printf("The delay difference =%d ns", dT); printf("\n The rms pulse broadening =%f ns", rM); printf("\n The max bit rate =%f M bits/sec", bT); printf("\n The bandwidth length product =%f MHz km", bL);