blob: d2b1c8cdbca4a8394bf55586ffcafc9a16cd152a (
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
|
// find voltage between collector and ground and between collector and emitter
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 7-9, page 239
clear;clc; close;
// Given data
Vcc=15;// collector supply voltage in volts
Vbb=5;// base voltage in volts
Rc=2*10^3;// collector resistance in ohms
Re=1*10^3;// emitter resistance in ohms
// Calculations
Ve=Vbb-0.7;// emitter voltage in volts
Ie=Ve/Re;// emitter current in amperes
Ic=Ie;// collector current is equal to emitter current
Vc=Vcc-(Ic*Rc);// collector voltage in volts
Vce=Vc-Ve;// collector-emitter voltage in volts
disp("Volts",Vce,"collector-emitter voltage")
disp("Volts",Vc,"collector-ground voltage")
// Result
// collector-to-ground voltage is 6.4 volts
// collector-emitter voltage is 2.1 volts
|