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.24/20_24.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 608/CH20/EX20.24/20_24.sce (limited to '608/CH20/EX20.24/20_24.sce') diff --git a/608/CH20/EX20.24/20_24.sce b/608/CH20/EX20.24/20_24.sce new file mode 100755 index 000000000..bdd04556e --- /dev/null +++ b/608/CH20/EX20.24/20_24.sce @@ -0,0 +1,24 @@ +//Problem 20.24: An a.c. source of 24 V and internal resistance 15 kohm is matched to a load by a 25:1 ideal transformer. Determine (a) the value of the load resistance and (b) the power dissipated in the load. + +//initializing the variables: +tr = 25; // teurn ratio +V = 24; // in Volts +R1 = 15000; // in Ohms +Rin = 15000; // in ohms + +//calculation: +//Turns ratio, tr = N1/N2 = V1/V2 +//For maximum power transfer R1 needs to be equal to 15 kohm +RL = R1/(tr^2) +//The total input resistance when the source is connected to the matching transformer is +Rt = Rin + R1 +//Primary current, +I1 = V/Rt +//N1/N2 = I2/I1 +I2 = I1*tr +//Power dissipated in load resistor RL +P = I2*I2*RL + +printf("\n\n Result \n\n") +printf("\n (a) the load resistance is %.0f ohm", RL) +printf("\n (b) power dissipated in the load resistor is %.2E W", P) \ No newline at end of file -- cgit