blob: 60b41bf5e15d14d0dc49b4d6d0f64bc7cf305e13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 3.7
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
C=3*10^8;//speed of light in m/s
lamda=0.85*10^-6;//wavelength in m
SW=0.003*10^-6;//spectrum width in m
Ym=0.021;//material dispersion parameter (ps/Km.nm)
Gamma=SW/lamda;
taubyZ=(Gamma/C)*(Ym)//in ns/Km
deltafZ=(C)/(4*Gamma*Ym);//Bandwidth distance product in GHz.Km
mprintf("\n Bandwidth distance product is =%.0fGHz.Km",deltafZ/1e12);//division by 1e9 to convert unit to GHz.Km from Hz.m
|