blob: 96e7ac807b1e24e41522205d7babae590b8f5267 (
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
|
// Exa 3.29
clc;
clear;
close;
// Given data
V_CC=5;// in V
V_E= 1;// in V
V_BE= 0.7;// in V
R_E=5*10^3;//in Ω
R_C=5*10^3;//in Ω
R_B= 20*10^3;// in Ω
I_E= (V_CC-V_E)/R_E;// in A
// For pnp transistor V_BE= V_E-V_B
V_B= V_E-V_BE;// in V
I_B= V_B/R_B;// in A
I_C= I_E-I_B;// in A
V_C= I_C*R_C-V_CC;// in V
bita= I_C/I_B;
alpha= I_C/I_E;
disp(V_B,"The value of V_B in volts is : ");
disp(I_B*10^3,"The value of I_B in mA is : ");
disp(I_E*10^3,"The value of I_E in mA is : ");
disp(I_C*10^3,"The value of I_C in mA is : ");
disp(V_C,"The value of V_C in volts is : ");
disp(bita,"The value of bita is : ");
disp(alpha,"The value of alpha is : ");
|