summaryrefslogtreecommitdiff
path: root/2582/CH5/EX5.5/Ex5_5.sce
blob: 492ef326e00d7b56c81951426d1aab4aeefa7648 (plain)
1
2
3
4
5
6
7
8
9
10
//Ex 5.5
clc;clear;close;
Vo=0.7;//V
Vsat=12;//V
R1=10;//kohm
R2=60;//kohm
Vth=R1/(R1+R2)*Vo;//V
iDmax=(Vsat-Vo)/R1-Vo/(R1+R2);//mA
disp(iDmax,"Maximum current(mA) : ");