summaryrefslogtreecommitdiff
path: root/1760/CH5/EX5.15/EX5_15.sce
blob: 264aae8d50f37202c83f96e3ba497668c993d7a1 (plain)
1
2
3
4
5
6
7
8
9
         //EXAMPLE 5-15   PG NO-306
I2=-0.67;
R1=8;
R2=2;
R3=5;
RN=R1+((R2*R3)/(R2+R3));
I=-I2*(RN/(10+RN));
disp('i) Resistance (RN) is   =  '+string (RN)+'ohm ');
disp('i) Current3 (I) is   =  '+string (I)+'A ');