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

//Variables

R1 = 5.0                      //resistance (in ohm)
R2 = 2.0                      //resistance (in ohm)
R3 = 3.0                      //resistance (in ohm)

//Calculation

Req = R2 * R3 / (R2 + R3)   //Equivalent resistance (in ohm)
RL = R1 + Req

//Result

printf("\n Load resistance is  %0.3f  ohm.",RL)