summaryrefslogtreecommitdiff
path: root/620/CH6/EX6.8/example6_8.sce
blob: 1d378f96a0a639b8a81eec0d4875137701b1e402 (plain)
1
2
3
4
5
6
7
8
r1=1;
r2=3.3;
i=16;
r=r1+r2;
i1=i*r2/r;
disp("the current (in mA) through R1 is"); disp(i1);
i2=i*r1/r;
disp("the current (in mA) through R2 is"); disp(i2);