diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /401/CH12/EX12.14 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '401/CH12/EX12.14')
-rwxr-xr-x | 401/CH12/EX12.14/Example12_14.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/401/CH12/EX12.14/Example12_14.sce b/401/CH12/EX12.14/Example12_14.sce new file mode 100755 index 000000000..dc4fb1a9a --- /dev/null +++ b/401/CH12/EX12.14/Example12_14.sce @@ -0,0 +1,29 @@ +//Example 12.14
+//Program to determine whether the combination of components gives
+//an adequate temporal response
+
+clear;
+clc ;
+close ;
+
+//Given data
+L=5; //km - LENGTH OF FIBER LINK
+Ts=10*10^(-9); //s - SOURCE RISE TIME
+Dn=9*10^(-9); //s/km - INTERMODAL RISE TIME
+Dc=2*10^(-9); //s/km - CHROMATIC RISE TIME
+Td=3*10^(-9); //s - DETECTOR RISE TIME
+Bopt=6*10^6; //Hz - REQUIRED OPTICAL BANDWIDTH
+
+Tn=Dn*L;
+Tc=Dc*L;
+
+//Maximum permitted rise time
+Tsyst_max=0.35/Bopt;
+
+//Total system rise time
+Tsyst=1.1*sqrt(Ts^2+Tn^2+Tc^2+Td^2);
+
+//Displaying the Results in Command Window
+printf("\n\n\t Maximum permitted rise time, Tsyst(max) = %0.1f ns.",Tsyst_max/10^(-9));
+printf("\n\n\t Total system rise time, Tsyst = %0.1f ns.",Tsyst/10^(-9));
+printf("\n\n\t Hence system gives adequate temporal response.");
\ No newline at end of file |