blob: 4107689b76ae011300dc8c956583117598cf3f3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Exa 3.12
format('v',7);
clc;
clear;
close;
// Given data
V_B= 5;// in V
V_BE= 0.7;// in V
V_CC= 10;// in V
bita=100;
R_B= 100;// in kΩ
R_C= 2;// in kΩ
R_B=R_B*10^3;// in Ω
R_C=R_C*10^3;// in Ω
I_B= (V_B-V_BE)/R_B;// in A
I_C= bita*I_B;//in A
V_C= V_CC-I_C*R_C;// in V
I_E= I_C;// in A (approx)
disp(I_B*10^3,"The value of I_B 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(I_E*10^3,"The value of I_E in mAis : ")
|