blob: b2d8450b57fa0950a81852d0f77c4eafb9918461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Example 9.6
format('v',6)
clc;
clear;
close;
// given data
V_CC= 12;// in V
V_BE= 0.7;// in V
I_CQ= 5*10^-3;// in A
bita= 200;// unit less
// The emitter voltage,
V_E= 0.1*V_CC;// in V
// The emitter current,
I_E= I_CQ;// in A
// The emitter resistance,
R_E= V_E/I_E;// in Ω
// The collector resistance,
R_C= 4*R_E;// in Ω
// The base voltage,
V_B= V_E+V_BE;// in V
I_C= I_CQ;// in A
I_B= I_C/bita;// in A
R= V_CC/(10*I_B);// in Ω
R2= V_B/(10*I_B);// in Ω
R1= R-R2;// in Ω
R1= R1*10^-3;// in k ohm
R2= R2*10^-3;// in k ohm
R_C= R_C*10^-3;// in k ohm
disp("The value of R1 is : "+string(R1)+" kΩ (standard value : 39 kΩ)")
disp("The value of R2 is : "+string(R2)+" kΩ (standard value : 7.5 kΩ)")
disp("The value of R_E is : "+string(R_E)+" Ω (standard value : 240 Ω)")
disp("The value of R_C is : "+string(R_C)+" kΩ (standard value : 1 kΩ)")
|