diff options
Diffstat (limited to '3543/CH6/EX6.32/EX6_32.sce')
-rw-r--r-- | 3543/CH6/EX6.32/EX6_32.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3543/CH6/EX6.32/EX6_32.sce b/3543/CH6/EX6.32/EX6_32.sce new file mode 100644 index 000000000..30f992c5d --- /dev/null +++ b/3543/CH6/EX6.32/EX6_32.sce @@ -0,0 +1,32 @@ +// Example 6.32
+// Calculation of signal to noise ratio
+// Page no 495
+
+clc;
+clear;
+close;
+
+//Given data
+I=152.3*10^-9; // Peak photocurrent
+s=74.15*10^-20; // Shot noise
+t=4.94*10^-17; // Mean square shot noise current
+F=10*log10(3); // Noise figure
+B=15*10^6; // Bandwidth
+T=298; // Room temperature
+k=1.381*10^-23; // Boltzman constant
+R=5*10^3; // Load resistance
+e=1.602*10^-19; // Charge of an electron
+
+
+// Signal to noise ratio
+S=(I^2)/((2*e*B*(2+I))+(4*k*T*B*F)/R);
+S=S*10^3;
+
+
+
+
+//Displaying results in the command window
+printf("\n Signal to noise ratio = %0.2f ",S);
+
+
+// The answers vary due to round off error
|