summaryrefslogtreecommitdiff
path: root/3543/CH8/EX8.50/EX8_50.sce
diff options
context:
space:
mode:
Diffstat (limited to '3543/CH8/EX8.50/EX8_50.sce')
-rw-r--r--3543/CH8/EX8.50/EX8_50.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/3543/CH8/EX8.50/EX8_50.sce b/3543/CH8/EX8.50/EX8_50.sce
new file mode 100644
index 000000000..35a110c19
--- /dev/null
+++ b/3543/CH8/EX8.50/EX8_50.sce
@@ -0,0 +1,26 @@
+// Example 8.50
+// Calculation of signal to noise ratio.
+// Page no 499
+
+clc;
+clear;
+close;
+
+//Given data
+
+h=6.62*10^-34; // Planck constant
+c=3*10^8; // velocity of light
+lambda=1.55*10^-6; // Wavelength
+B=400*10^6; // Speed of communication
+s=2;
+// S/N ratio
+
+sn=(s*4.24)/(2^(1/2));
+i=(sn)^2;
+
+//Displaying results in the command window
+printf("\n Incident optical power(in nW) = %0.20f ",i);
+
+
+// The answer is wrong in the book
+