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/CH25/EX25.2/25_2.sce | |
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/CH25/EX25.2/25_2.sce')
-rw-r--r-- | 3754/CH25/EX25.2/25_2.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/3754/CH25/EX25.2/25_2.sce b/3754/CH25/EX25.2/25_2.sce new file mode 100644 index 000000000..3237ecd4a --- /dev/null +++ b/3754/CH25/EX25.2/25_2.sce @@ -0,0 +1,27 @@ +clear//
+
+//Variables
+
+hie = 1.0 * 10**3 //hie (in ohm)
+hre = 1.0 * 10**-4 //hre
+hoe = 100.0 * 10**-6 //hoe (in mho)
+RC = 1.0 * 10**3 //Collector resistance (in ohm)
+RS = 1000.0 //Source resistance (in ohm)
+hfe=50.0;beta=50.0;
+
+//Calculation
+
+rL = RC //a.c. load resistance (in ohm)
+Ai = -hfe /(1 + hoe * rL) //Current gain of a transistor
+Ri = hie + hre * Ai * rL //Input resistance looking directly into the base (in ohm)
+Ris = Ri //Iput resistance of the amplified stage (in ohm)
+dh = hie * hoe - hre * hfe //Change in h
+Ro = (RS + hie)/(RS * hoe + dh) //Output resistance looking directly into collector (in ohm)
+Ros = Ro * rL /(Ro + rL) //Output resistance of the amplified stage (in ohm)
+Ais = Ai * RS / (RS + Ris) //Current gain of amplified stage
+Av = Ai * rL / Ri //Voltage gain of transistor
+Avs = Av * Ris / (RS + Ris) //Voltage gain of amplified stage
+
+//Result
+
+printf("\n Input resistance of the amplifier stage is %0.0f ohm.\nOutput resistance of amplifier stage is %0.0f ohm.\nCurrent gain of amplified stage is %0.1f \nVoltage gain of amplifier stage is %0.1f .",Ris,Ros,Ais,Avs)
|