summaryrefslogtreecommitdiff
path: root/3547/CH6/EX6.4/EX6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3547/CH6/EX6.4/EX6_4.sce')
-rw-r--r--3547/CH6/EX6.4/EX6_4.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/3547/CH6/EX6.4/EX6_4.sce b/3547/CH6/EX6.4/EX6_4.sce
new file mode 100644
index 000000000..c40e22534
--- /dev/null
+++ b/3547/CH6/EX6.4/EX6_4.sce
@@ -0,0 +1,35 @@
+// Example 6.4
+// Calculation of the amplifier gain
+// Page no 262
+
+clc;
+clear;
+close;
+
+//Given data
+
+Po=0; // Signal output of amplifier
+//f=7*10^9; // Cut off frequency
+B=7.5*10^9; // Bandwidth
+R=0.9; // Responsivity
+c=3*10^8; // Velocity of light
+lambda=1550*10^-9; // Operating frequency
+fn=4.5; // Noise figure
+Ro=0.066*10^-3; // Beat noise current
+h=6.626*10^-34; // Planck constant
+
+// The amplifier gain
+P=10^(Po/10)*10^-3;
+r=Ro^2/(4*R^2*B*P);
+fn=10^(fn/10);
+f=c/lambda;
+G=(1/fn)*(((2*r)/(h*f))+1);
+
+
+
+
+//Displaying results in the command window
+printf("\n The amplifier gain = %0.0f ",G);
+
+
+// The answers vary due to round off error