summaryrefslogtreecommitdiff
path: root/3754/CH24/EX24.4
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3754/CH24/EX24.4
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH24/EX24.4')
-rw-r--r--3754/CH24/EX24.4/24_4.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3754/CH24/EX24.4/24_4.sce b/3754/CH24/EX24.4/24_4.sce
new file mode 100644
index 000000000..8256ac632
--- /dev/null
+++ b/3754/CH24/EX24.4/24_4.sce
@@ -0,0 +1,23 @@
+clear//
+
+//Variables
+
+VCC = 12.0 //Source voltage (in volts)
+RC = 10.0 * 10**3 //Collector resistance (in ohm)
+RE = 1.0 * 10**3 //Emitter resistance (in ohm)
+RB = 500.0 * 10**3 //Base resistance (in ohm)
+beta = 50.0 //Common emitter current gain
+
+//Calculation
+
+IC = VCC / (RE + RB/beta) //Collector current (in Ampere)
+IE = IC //Emitter current (in Ampere)
+r1e = 25.0 / IE * 10**-3 //a.c. resistance of emitter diode (in ohm)
+Ri = beta * (r1e) //Input resistance looking directly into the base (in ohm)
+Ris = RB * Ri / (RB + Ri) //Input resistance of the stage (in ohm)
+Av = RC / r1e //Voltage gain
+AV1 = RC / RE //New voltage gain
+
+//Result
+
+printf("\n Input resistance looking into the base is %0.0f ohm.\nInput resistance of the stage is %0.1f kilo-ohm.\nVoltage gain is %0.2f .\nNew Voltage gain is %0.3f .",Ri,Ris,Av,AV1)