summaryrefslogtreecommitdiff
path: root/3637/CH2/EX2.8/Ex2_8.sce
blob: 81e3480275d6ac48a652032fe02cea824bbed9de (plain)
1
2
3
4
5
6
7
8
9
10
11
//problem 8 pagenumber 2.92
//given
format(6);
ii1=2e-3;//A
rf1=2e3;//ohm
r0=2e3;//ohm
i0=-(ii1+(ii1*rf1)/r0)

disp('Output current = '+string(i0*10^3)+' mA');