summaryrefslogtreecommitdiff
path: root/3638/CH13/EX13.15/Ex13_15.sce
blob: c1557ddcd5097ba50b9159651ebf02fc893655f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.15
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
B=400e6;//Bit rate in b/s
BER=1e-9;//Bit error rate
L=100;//Total fiber length in km

//The Total system rise time is given as:
Ts=0.7/B;//The expression for total rise time under NRZ transmission in s
mprintf("\n The total system rise time Ts=%.2f ns",Ts/1e-9);//Dividing by 10^(-9) to convert into ns