blob: 38606322b9c579a05a3bd4e59e3b939219188c55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 5.2.1
clc;
clear;
//given
A=0.2;//Attenuation in dB/km
Pin=0.029E-3; //Power launched in mW
Pout=0.001E-3; //Receiver sensitivity in mW
e=Pin/Pout;
s=10/A;
d=log10(e);
L=s*d;//maximum transistion distance in km
mprintf("Maximum transistion distance = %.2f Km",L);
|