blob: bd84db996503cbb3b6ffdcc085e7ab420226cb2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Chapter 6, Problem 1
clc
hfe=200 //dc current gain
vcc=10 //supply voltage
vbe=0.7 //base to emitter voltage
ic=1e-3 //collector current
vc=5 //collector voltage
//calculation of operating point
ib=ic/hfe
rf=(vc-vbe)/ib
rc=(vcc-vc)/(ic+ib)
printf("Operating point Rc = %.3f Kohm",rc/1000)
|