diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3754/CH26/EX26.4 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3754/CH26/EX26.4')
-rw-r--r-- | 3754/CH26/EX26.4/26_4.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3754/CH26/EX26.4/26_4.sce b/3754/CH26/EX26.4/26_4.sce new file mode 100644 index 000000000..c82521d47 --- /dev/null +++ b/3754/CH26/EX26.4/26_4.sce @@ -0,0 +1,30 @@ +clear//
+
+//Variables
+
+VCC = 15.0 //Source voltage (in volts)
+RC = 3.3 * 10**3 //Collector resistance (in ohm)
+RE = 1.0 * 10**3 //Emitter resistance (in ohm)
+RL = 10.0 * 10**3 //Load resistance (in ohm)
+R1 = 33.0 * 10**3 //Resistance (in ohm)
+R2 = 8.2 * 10**3 //Resistance (in ohm)
+beta1=100.0;beta2=100.0;
+VBE = 0.7 //Emitter-to-base voltage (in volts)
+
+//Calculation
+
+Vth = VCC * R2 / (R1 + R2) //Thevenin's voltage (in volts)
+Rth = R1 * R2 / (R1 + R2) //Thevenin's equivalent resistance (in ohm)
+IE = (Vth - VBE)/(RE + Rth/beta1) //Emitter current (in Ampere)
+r1e = 25.0/IE * 10**-3 //a.c. emitter resistance (in ohm)
+Ri2 = beta1 * r1e //Input resistance of second stage (in ohm)
+Ro1 = RC * Ri2 / (RC + Ri2) //Output resistance of first stage (in ohm)
+Ro2 = RC * RL /(RC + RL) //Output resistance of second stage (in ohm)
+Av1 = Ro1 / r1e //Voltage gain of the first stage
+Av2 = Ro2 / r1e //Voltage gain of second stage
+Av = Av1 * Av2 //Overall voltage gain
+Gv = 20 * log10(Av) //Overall voltage (in decibels)
+
+//Result
+
+printf("\n Voltage gain of stage one and two are as follows %0.2f and %0.2f .\nOverall voltage gain is %0.0f .\nOverall voltage gain in decibels is %0.1f dB.",Av1,Av2,Av,Gv)
|