summaryrefslogtreecommitdiff
path: root/1628/CH2/EX2.6/Ex2_6.sce
blob: 0b9e84e85917e03f388b2acb384894860f1a5bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

                        // Example  2.6

d=(1/12)+(1/20)+(1/30);
Reff=2+(1/d);    // Effective Resisrence 
v=100;
I=v/Reff;
                 //  ( but 12 i1= 20i2= 30i3 )
                 // i2= 12/20 *i1  &  i3= 12/30 *i1
                 // but  10=i1+i2+i3 
                 // 0.6i1+0.4i1+i1=10    i.e  i1=5 
i1=5;
disp(' Current of I1 if = '+string(i1)+' Amp');
i2=0.6*i1;
disp(' Current of I2 if = '+string(i2)+' Amp');
i3=0.4*i1;
disp(' Current of I3 if = '+string(i3)+' Amp');



         //  p 24      2.6