summaryrefslogtreecommitdiff
path: root/135/CH5/EX5.6/EX6.sce
blob: e5f697da1c0943123935c8804084d993e1074bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Example 5.6: RF so that IE=+2 mA
clc, clear
IE=2e-3; // in amperes
VBE=0.7; // in volts
betaf=49;
// From Fig. 5.17
VCC=12; // in volts
RB=25e3; // in ohms
RC=2e3; // in ohms
I1=VBE/RB; // in amperes
IB=IE/(1+betaf); // in amperes
// KVL for the indicated loop gives
RF=(VCC-RC*(I1+(1+betaf)*IB)-VBE)/(I1+IB); // in ohms
RF=RF*1e-3; // in kilo-ohms
disp(RF,"RF so that IE=+2 mA (kΩ) =");