summaryrefslogtreecommitdiff
path: root/3754/CH27/EX27.8/27_8.sce
blob: 1809803e5096076728dbc5ed4ed2a3fd4ac63069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear//

//Variables 

a = 15.0                     //Turns ratio
RL = 8.0                     //Load resistance (in ohm)   

//Calculation

R1L = a**2 * RL              //Effective resistance (in ohm)   

//Result

printf("\n The effective resistance is  %0.3f  kilo-ohm.",R1L * 10**-3)