summaryrefslogtreecommitdiff
path: root/401/CH10/EX10.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /401/CH10/EX10.4
downloadScilab-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/CH10/EX10.4')
-rwxr-xr-x401/CH10/EX10.4/Example10_4.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/401/CH10/EX10.4/Example10_4.sce b/401/CH10/EX10.4/Example10_4.sce
new file mode 100755
index 000000000..7712723ed
--- /dev/null
+++ b/401/CH10/EX10.4/Example10_4.sce
@@ -0,0 +1,24 @@
+//Example 10.4
+//Program to determine:
+//(a)The fiber non-linear coefficient
+//(b)The parametric gain in dB when it is reduced to quadratic gain
+
+clear;
+clc ;
+close ;
+
+//Given data
+L=500; //metre - LENGTH
+Lambda=1.55*10^(-6); //metre - OPERATING WAVELENGTH
+Pp= 1.4; //W - SIGNAL POWER
+Gp_dB=62.2; //dB - PEAK GAIN
+
+//(a)The fiber non-linear coefficient
+gaamma=(Gp_dB-10*log10(1/4))/(Pp*L)*1/(10*log10((%e)^2));
+
+//(b)The parametric gain in dB when it is reduced to quadratic gain
+Gp_dB1=10*log10((gaamma*Pp*L)^2);
+
+//Displaying the Results in Command Window
+printf("\n\n\t (a)The fiber non-linear coefficient is %0.2f X 10^(-3) per W per km.",gaamma/10^(-3));
+printf("\n\n\t (b)The parametric gain in dB when it is reduced to quadratic gain is %0.1f dB.",Gp_dB1); \ No newline at end of file