summaryrefslogtreecommitdiff
path: root/608/CH20/EX20.21
diff options
context:
space:
mode:
Diffstat (limited to '608/CH20/EX20.21')
-rwxr-xr-x608/CH20/EX20.21/20_21.sce14
1 files changed, 14 insertions, 0 deletions
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