summaryrefslogtreecommitdiff
path: root/2609/CH1/EX1.6/ex_1_6.sce
blob: 267e90855fe412e1dc7720c786d473b032d31e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Ex 1.6
clc;
clear;
close;
format('v',5);
VBE=0.7;//V
Beta=120;//unitless
VCC=10;//V
R=5.6;//kohm
//KCL at node x : IREF=IC1+I1;//as Beta>>1
//KCL at node y : I1=IC2+IB3;//as Beta>>1
IREF=(VCC-VBE)/R;//mA
//as IREF=2*IC+IB3=IC*(2+1/Beta)=2*IC;//as Beta>>1
IC=IREF/2;//mA
Iout=IC;//mA
disp(Iout,"Output current(mA)");