summaryrefslogtreecommitdiff
path: root/3506/CH16/EX16.3/Ex_16_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3506/CH16/EX16.3/Ex_16_3.sce')
-rw-r--r--3506/CH16/EX16.3/Ex_16_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3506/CH16/EX16.3/Ex_16_3.sce b/3506/CH16/EX16.3/Ex_16_3.sce
new file mode 100644
index 000000000..e43e802ec
--- /dev/null
+++ b/3506/CH16/EX16.3/Ex_16_3.sce
@@ -0,0 +1,11 @@
+//Optical Fiber communication by A selvarajan
+//example 16.3
+//OS=Windows XP sp3
+//Scilab version 5.5.1
+clc;
+clear all;
+alpha=0.2//fiber loss in dB/Km
+LA=50//Amplifier spacing in Km
+G=(alpha*LA)//gain in fiber
+PbyPo=G*log(G)/(G-1)//Multiple of power required by single soliton
+mprintf('Multiple of power required by single soliton =%f ',PbyPo)// the answer is slightly varing due to rounding error