summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.a.11/Example_a_1_11.sce
blob: 4af08c4604a1413cdb31a2192832b885028ed618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 1_11 page no:28
clc;
R1=5;
R2=25;
R3=10;
V=50;
It=6;
//current in branch ADB
I30=V/(R2+R1);
disp(I30,"the current in branch ADB is (in A)");
//current in branch ACB
I10=It-I30;
disp(I10,"the current in branch ACB is (in A)");
R=(V/I10)-R3;
disp(R,"the resistance R is (in ohm)");