summaryrefslogtreecommitdiff
path: root/3754/CH5/EX5.8/5_8.sce
blob: 8424537669f53e58597070914bfecbb187ac96ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear//

//Variables

R1 = 0.6                                    //Resistance (in ohm)
R2 = 0.6                                    //Resistance (in ohm)
R3 = 0.8                                    //Resistance (in ohm)
R4 = 0.8                                    //Resistance (in ohm)

//Calculation

Rth = R3 + R4*(R1 + R2)/(R4 + (R1 +R2))     //Thevenin's resistance (in ohm)

//Result

printf("\n The value of Rth is  %0.3f  ohm.",Rth)