summaryrefslogtreecommitdiff
path: root/671/CH2/EX2.27/2_27.sce
blob: d500dc57797249d76c98f9d54725149d59101011 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Short Circuit AB and convert Curr Source to V source

V=9*5
Isc=(45-9)/6

function p=parallel(r1,r2)
    p=r1*r2/(r1+r2)
endfunction

Ro=parallel(5+1,3)
disp(Ro,Isc)