summaryrefslogtreecommitdiff
path: root/147/CH11/EX11.9/Example11_9.sce
blob: c447e2d2851b8ea9185c6e3109ce4f058024221e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
close();
clear;
clc;
Vcc = 5; //V
Vb = 3.5; //V
Rc = 640; //ohm
Rb1 = 450; //ohm
Rb2 = Rb1; 
Vcesat = 0.2; //V
B = 50;
Ibsat = (Vcc-Vcesat)/(B*Rc); 
//number of gates that can be attached to v
n = (Vcc-Vb)/(Rc*Ibsat);
mprintf("number of gates that can be attached to v without risk of error in logic, n < %d",n);