From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 608/CH20/EX20.21/20_21.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 608/CH20/EX20.21/20_21.sce (limited to '608/CH20/EX20.21/20_21.sce') diff --git a/608/CH20/EX20.21/20_21.sce b/608/CH20/EX20.21/20_21.sce new file mode 100755 index 000000000..67d67f53c --- /dev/null +++ b/608/CH20/EX20.21/20_21.sce @@ -0,0 +1,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) \ No newline at end of file -- cgit