summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.32/Ex5_32.sce
blob: 0bcdadeb5c5f17a29ae282b17e784877dd1ebb70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
R1=12                     //ohm
R2=6                      //ohm

//Calculation
Rdg=R1*R2/(R1+R2)
Rch=R1*R2/(R1+R2)
Rab=Rdg+Rch

//Result
printf("\n The equivalent resistance is  %0.3f  ohm", Rab)