summaryrefslogtreecommitdiff
path: root/135/CH5/EX5.1/EX1.sce
blob: eb43cead9b9a626b7d5db66d85cba20e9b7af0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Example 5.1: RB, RC
clc, clear
IB=40e-6; // in amperes
VCE=6; // in volts
VCC=12; // in volts
betaf=80;
VBE=0.7; // in volts
RB=(VCC-VBE)/IB; // in ohms
RC=(VCC-VCE)/(betaf*IB); // in ohms
RB=RB*1e-3; // in kilo-ohms
RC=RC*1e-3; // in kilo-ohms
disp(RB,"RB (kΩ) =");
disp(RC,"RC (kΩ) =");