summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.18/ex1_18.sce
blob: 4b789135a4129c5a274f098204275d7fca52941a (plain)
1
2
3
4
5
6
7
8
9
10
R1=15;                          //Assigning parameters
R2=6;
R3=4;
R4=30;
R5=3;
Ra=1/((1/R2)+(1/R5));          // Simplifying the circuit
Rb=R3+Ra;
Rc=1/((1/R1)+(1/R4));
Req=Rb+Rc;
disp("Ohms",Req,"Effective resistance")