summaryrefslogtreecommitdiff
path: root/3754/CH4/EX4.12/4_12.sce
blob: 038a4e6863c21a3fc84a6f60e346ff3c7ddf7661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear//

//Variables

R1=10;R2=10;

//Calculation

Req = R1*R2 / (R1 + R2)   //Equivalent Resistance (in kilo-ohm)  

//Result

printf("\n The equivalent resistance is  %0.3f  kilo-ohm.",Req)