summaryrefslogtreecommitdiff
path: root/671/CH3/EX3.6/3_6.sce
blob: 3b2271c0a20e18dd94a8a1c0185ac507d90f7818 (plain)
1
2
3
4
5
6
7
8
9
10
function p=parallel(r1,r2)
    p=r1*r2/(r1+r2)
endfunction

Lbc=parallel(1/10,1/20)
Leq=1/50+Lbc
disp(Leq)

Vbc=Lbc*150
disp(Vbc)