summaryrefslogtreecommitdiff
path: root/1883/CH3/EX3.6.2/Example3_16.sce
blob: 53181b2dcb26e6f3f65414906c86923e4b77c1ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Chapter-3,Example3_6_2,pg 3-18

L=3                                                            //length of fibre in km
 
a=1.5                                                          //Loss specification in dB/km

Pin=9.0                                                        //input power in uW

Pl=a*L                                                         //Power loss 

Pout=Pin*10^(-Pl/10)                                           //as Power loss or attenuation is   Pl=(-10)*log10(Pout/Pin)

printf("\nThe output power Pout = %.3f uW\n",Pout)