summaryrefslogtreecommitdiff
path: root/3547/CH10/EX10.8/EX10_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3547/CH10/EX10.8/EX10_8.sce')
-rw-r--r--3547/CH10/EX10.8/EX10_8.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3547/CH10/EX10.8/EX10_8.sce b/3547/CH10/EX10.8/EX10_8.sce
new file mode 100644
index 000000000..20982607c
--- /dev/null
+++ b/3547/CH10/EX10.8/EX10_8.sce
@@ -0,0 +1,31 @@
+// Example 10.8
+// Calculation of the Stokes signal power at the fiber output
+// Page no 480
+
+clc;
+clear;
+close;
+
+//Given data
+p1=20; // Input power pump
+ps=-10; // Input Stokes’s signal power
+alpha=0.08;
+L=2; // Length of fiber
+alpha1=0.046;
+A=40*10^-12; // Effective area of fiber
+g=1*10^-13; // Raman coefficient of the fiber
+
+// The Stokes signal power at the fiber output
+p1=10^(p1/10);
+ps=10^(ps/10);
+Le=(1-exp(-alpha*L))/alpha;
+s=(g*p1*Le)/A;
+d=alpha1*L;
+pd=ps*%e^(-d+s);
+
+
+
+// Displaying results in the command window
+printf("\n The Stokes signal power at the fiber output = %0.15f mW ",pd);
+
+