summaryrefslogtreecommitdiff
path: root/98/CH13/EX13.21/example13_21.sce
blob: 043e586df17f3bdb4629469759d937641cff7a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Chapter 13
//Example 13_21
//Page 332

clear;clc;

l=500;
v=240;
r=0.001;

x=50;
printf("(i) Point of minimum potential = %d A \n\n", x);
tc=160+200;
Ia=100+x;
Ib=360-150;
vd=v-150*(100*r)-x*(150*r);
printf("(ii)Total current = %d A \n", tc);
printf("Current supplied by A = %d A \n", Ia);
printf("Current supplied by B = %d A \n", Ib);
printf("Minimum potential = %.2f V \n", vd);