blob: 404ca02f602d0948089536fe1fb29264c495185f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Ex 1.12
clc;clear;close;
format('v',5);
Iout=8;//micro A
VBE=0.7;//V
VCC=20;//V
Beta=80;//unitless
IREF=Iout*(1+2/Beta);//micro A
disp(IREF,"Reference current is(micro A) : ");
R=(VCC-VBE)/(IREF);//Mohm
disp(R,"Resistance is(Mohm) : ");
|