blob: bfabe4bc1e22e624192e998a79c84250160ceab8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear;
clc;
//Example 3.13
b=100;
Vcc=12;
Vbe=0.7;
Icq=1;//mA
Vceq=6;
Rc=(Vcc-Vceq)/Icq;
printf('\ncollector resistance=%.3f KOhms\n',Rc)
Ibq=Icq/b;
printf('\nbase current=%0.3f mA\n',Ibq)
Rb=(Vcc-Vbe)/Ibq;
printf('\nbase resistance=%.3f KOhms\n',Rb)
|