summaryrefslogtreecommitdiff
path: root/608/CH20/EX20.21/20_21.sce
blob: 67d67f53ced2c25b031f2140ebf7a1f91309b9bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Problem 20.21: The output stage of an amplifier has an output resistance of 112 ohm. Calculate the optimum turns ratio of a transformer which would match a load resistance of 7 ohm to the output resistance of the amplifier.

//initializing the variables:
R1 = 112; // in Ohms
RL = 7; // in Ohms

//calculation:
//The equivalent input resistance, R1 of the transformer needs to be 112 ohm for maximum power transfer.
//R1 = RL*(tr^2)
// tr = N1/N2 turn ratio
tr = (R1/RL)^0.5

printf("\n\n Result \n\n")
printf("\n the optimum turns ratio is %.0f ", tr)