summaryrefslogtreecommitdiff
path: root/293/CH3/EX3.3/eg3_3.sce
blob: 980d333630b5d913323499412bd33144eb595eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// resistances in ohms 
R1 = 25;
R2 = 300;
R3 = 80;
R4 = 30;
R5 = 60;

Rcd = R5*R4/(R5 + R4);
Rbd1 = Rcd + R3;
Rbd = Rbd1*R2/(Rbd1 + R2);
Req = Rbd + R1; // equivalent resistance 
disp(Req, "equivalent resistance = ")