diff options
Diffstat (limited to '3754/CH22/EX22.11/22_11.sce')
-rw-r--r-- | 3754/CH22/EX22.11/22_11.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3754/CH22/EX22.11/22_11.sce b/3754/CH22/EX22.11/22_11.sce new file mode 100644 index 000000000..bb6dede08 --- /dev/null +++ b/3754/CH22/EX22.11/22_11.sce @@ -0,0 +1,20 @@ +clear//
+
+//Variables
+
+VCC = 25.0 //Source voltage (in volts)
+RC = 820.0 //Collector resistance (in ohm)
+RB = 180.0 * 10**3 //Base Resistance (in ohm)
+beta = 80.0 //Common-Emitter current gain
+VBE = 0.7 //Emitter-to-Base Voltage (in volts)
+RE = 200.0 //Emitter resistance (in kilo-ohm)
+
+//Calculation
+
+IC = (VCC -VBE)/(RE + RB / beta) //Collector current (in milli-Ampere)
+VCE = VCC - IC * RC //Collector-to-Emitter voltage (in volts)
+S = 1 + beta //Stability factor
+
+//Result
+
+printf("\n Collector current is %0.1f mA.\nCollector-to-Emitter voltage is %0.3f V.\nStability factor is %0.3f .",IC*10**3,VCE,S)
|