blob: 910ea0b3df7282dd6c3611d89af0318b538e473e (
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.27
clc;
clear;
close;
// Given data
V_B= 2;// in V
V_CC=5;// in V
V_BE= 0.7;// in V
R_E= 1*10^3;// in Ω
R_C= 1*10^3;// in Ω
V_E= V_B-V_BE;// in V
I_E= V_E/R_E;// in A
I_C= I_E;// in A
V_C= V_CC-I_C*R_C;//in V
disp("At V_B= +2 V")
disp(V_E,"The value of V_E in volts is : ")
disp(V_C,"The value of V_C in volts is : ")
// Part (b)
V_B= 0;//in V
V_E= 0;// in V
I_E= 0;// in A
V_C= 5;// in V
disp("At V_B= 0 V")
disp(V_E,"The value of V_E in volts is : ")
disp(V_C,"The value of V_C in volts is : ")
|