summaryrefslogtreecommitdiff
path: root/401/CH7/EX7.6/Example7_6.sce
blob: 22f6716ddab29fad21454b3bd2afe243bda295bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Example 7.6
//Compare the electrical and optical bandwidth for an optical fiber 
//commuication system and develop a relationship between the two

clear;
clc ;
close ;

//Given data
Re_dB=3;                   //dB - ELECTRICAL 3 dB POINTS
Ro_dB=3;                   //dB - OPTICAL 3 dB POINTS

//Electrical Bandwidth
Iout_by_Iin=sqrt(10^(-Re_dB/10));
printf("\n\n\t For Electrical Bandwidth, Iout/Iin = %0.3f .",Iout_by_Iin);

//Optical Bandwidth
Iout_by_Iin=10^(-Ro_dB/10);
printf("\n\n\t For Optical Bandwidth, Iout/Iin = %0.1f .",Iout_by_Iin);