summaryrefslogtreecommitdiff
path: root/317/CH7/EX7.8/example8.sce
blob: bff4181d832148d7b2fa3fafd139f1d008ccc3a3 (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
// find the 2 values of output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 7-8, page 236

clear;clc; close;

// Given data
Vcc=5;// collector supply voltage in volts
Vbb=10;// base voltage in volts
Rc=1*10^3;// collector resistance in ohms
Rb=10*10^3;// base resistance in ohms
Bdc=50;// current gain
Vcesat=0.15;// saturation voltage in volts
Iceo=50*10^-9;// collector leakage current in amperes

// Calculations
Vce=Vcc-(Iceo*Rc);// collector-emitter voltage in volts
disp("Volts",Vcesat,"Output voltage")
disp("Volts",Vce,"Output voltage")

// Result
// the 2 output voltages are 5 volts and 0.15 volts