diff options
Diffstat (limited to '3547/CH6/EX6.14/EX6_14.sce')
-rw-r--r-- | 3547/CH6/EX6.14/EX6_14.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3547/CH6/EX6.14/EX6_14.sce b/3547/CH6/EX6.14/EX6_14.sce new file mode 100644 index 000000000..e8d2d4838 --- /dev/null +++ b/3547/CH6/EX6.14/EX6_14.sce @@ -0,0 +1,32 @@ +// Example 6.13
+// Calculation of the upper bound on the single-pass gain
+// Page no 297
+
+clc;
+clear;
+close;
+
+//Given data
+
+n=3.5; // Refractive index
+c1=3*10^8; // Velocity of light
+L=200*10^-6; // Amplifier length
+a=0.09;
+b=-(1.2*0.1805^2+0.6);
+c=1;
+
+// The geometric mean of the facet reflectivity R
+f=c1/(2*n*L);
+
+x1 =( -1*b+ sqrt ((b ^2) -4*a*c)) /(2* a); // 1 s t r o o t
+x2 =( -1*b- sqrt ((b ^2) -4*a*c)) /(2* a); // 2nd r o o t
+
+
+
+//Displaying results in the command window
+printf("\n The geometric mean of the facet reflectivity R = %0.2f GHz ",f*10^-9);
+printf("\n The upper bound on the single-pass gain Gs = %0.2f or ",x1);
+printf("\n The upper bound on the single-pass gain Gs = %0.2f ",x2);
+
+
+// The answers vary due to round off error
|