summaryrefslogtreecommitdiff
path: root/608/CH13/EX13.19/13_19.sce
blob: 45f649446407db99af198c14568bae521a312d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//Problem 13.19: Determine by successive conversions between Th´evenin and Norton equivalent networks a Th´evenin equivalent circuit for terminals AB of Figure 13.46(a). Hence determine the current flowing in the 200 ohm resistance.

//initializing the variables:
V1 = 10; // in volts
V2 = 6; // in volts
R1 = 2000; // in ohms
R2 = 3000; // in ohms
R3 = 600; // in ohms
R4 = 200; // in ohms
i = 0.001; // in amperes

//calculation:
//For the branch containing the V1 source, converting to a Norton equivalent network gives
Isc1 = V1/R1
r1 = R1
//For the branch containing the V2 source, converting to a Norton equivalent network gives
Isc2 = V2/R2
r2 = R2
//Thus the network of Figure 13.46(a) converts to Figure 13.46(b).
//total short-circuit current
Isct = Isc1 + Isc2
//the resistance is
z = r1*r2/(r1 + r2)
//Both of the Norton equivalent networks shown in Figure 13.46(c) may be converted to Th´evenin equivalent circuits. The open-circuit voltage across CD is
Vcd = Isct*z
//The open-circuit voltage across EF is
Vef = i*R3
//the resistance ‘looking-in’ at EF is
r3 = R3
//Thus Figure 13.46(c) converts to Figure 13.46(d). Combining the two Th´evenin circuits gives
E = Vcd - Vef
r = z + r3
//the current I flowing in a 200 ohm resistance connected between A and B is given by:
I = E/(r + R4)

printf("\n\n Result \n\n") 
printf("\n the current I flowing in a 200ohm resistance connected between A and B is given by:is %.2E A",I)