diff options
Diffstat (limited to '3754/CH22/EX22.16/22_16.sce')
-rw-r--r-- | 3754/CH22/EX22.16/22_16.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3754/CH22/EX22.16/22_16.sce b/3754/CH22/EX22.16/22_16.sce new file mode 100644 index 000000000..8d7609991 --- /dev/null +++ b/3754/CH22/EX22.16/22_16.sce @@ -0,0 +1,19 @@ +clear//
+
+//Variables
+
+VCC = 24.0 //Source voltage (in volts)
+RE = 270.0 //Emitter Resistance (in ohm)
+RC = 10.0 //Collector Resistance (in kilo-ohm)
+VBE = 0.7 //Emitter-to-Base Voltage (in volts)
+beta = 45.0 //Common emitter current gain
+VCE = 5.0 //Collector-to-Emitter voltage (in volts)
+
+//Calculation
+
+IC = (VCC - VCE) / RC //Collector current (in milli-Ampere)
+RB = ((VCC - VBE) / IC - RC) * beta //Base Resistance (in kilo-ohm)
+
+//Result
+
+printf("\n Base resistance is %0.2f kilo-ohm.",RB)
|