diff options
Diffstat (limited to '401/CH7/EX7.6/Example7_6.sce')
-rwxr-xr-x | 401/CH7/EX7.6/Example7_6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/401/CH7/EX7.6/Example7_6.sce b/401/CH7/EX7.6/Example7_6.sce new file mode 100755 index 000000000..22f6716dd --- /dev/null +++ b/401/CH7/EX7.6/Example7_6.sce @@ -0,0 +1,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);
\ No newline at end of file |