summaryrefslogtreecommitdiff
path: root/620/CH10/EX10.11/example10_11.sce
blob: 7c6f2eb861dbf76b9cccb01063535e5ea24586b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
i1=4*10^(-3);
i2=6*10^(-3);
v=12;
r1=2*10^3;
r2=4*10^3;
r4=10^3;
rl=3*10^3;
v1=i1*r1;
v2=i2*r2;
i=(v2-v1-v)/(r1+r2+r4+rl);
disp("the load current (in mA) is"); disp(i*10^3);