summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.17/Ex1_17.sce
blob: 7a5c2ebb159392844b872e2d445b2d638b24c6d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 1_17 page no:20
clc
I=12;//total current in circuit(in ampere)
R1=4;//Resistance in ohm
R2=4;//Resistance in ohm
R3=4;//Resistance in ohm
R=R2*R3/(R2+R3)
I1=I*R/(R+R1)
disp(I1,"Current in resistor R1(in ampere)")
I2=I*R/(R+R2)
disp(I1,"Current in resistor R1(in ampere)")
I3=I*R/(R+R3)
disp(I1,"Current in resistor R1(in ampere)")