summaryrefslogtreecommitdiff
path: root/3754/CH26/EX26.2/26_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH26/EX26.2/26_2.sce')
-rw-r--r--3754/CH26/EX26.2/26_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3754/CH26/EX26.2/26_2.sce b/3754/CH26/EX26.2/26_2.sce
new file mode 100644
index 000000000..24655c2d1
--- /dev/null
+++ b/3754/CH26/EX26.2/26_2.sce
@@ -0,0 +1,20 @@
+clear//
+
+//Variables
+
+n = 3 //Number of amplified stages
+Vin1 = 0.05 //Input to first stage (in volts peak-to-peak)
+Vout3 = 150.0 //Output of final stage (in volts peak-to-peak)
+Av1 = 20.0 //Voltage gain of first stage
+Vin3 = 15.0 //Input of final stage (in volts peak-to-peak)
+
+//Calculation
+
+Av = Vout3 / Vin1 //Overall voltage gain
+Av3 = Vout3 / Vin3 //Voltage gain of third stage
+Av2 = Av / (Av1 * Av3) //Voltage gain of second stage
+Vin2 = Vin3 / Av2 //Input voltage gain of second stage
+
+//Result
+
+printf("\n Overall voltage gain is %0.3f .\nVoltage gain of 2nd and 3rd stage is %0.3f and %0.3f .\nInput voltage of the second stage is %0.3f Vpk-pk.",Av,Av2,Av3,Vin2)