summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.29/Ex5_29.sce
blob: 1c275077d7b497f49d89ce19b3946fa228619cb6 (plain)
1
2
3
4
5
6
7
8
9
10
clear
//Given
R1=15                    //ohm
R2=30                   //ohm

//Calculation
R=R1*R2/(R1+R2)

//Result
printf("\n The equivqlent resistance between A and B is  %0.3f  ohm", R)