summaryrefslogtreecommitdiff
path: root/1529/CH21/EX21.25/21_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '1529/CH21/EX21.25/21_25.sce')
-rwxr-xr-x1529/CH21/EX21.25/21_25.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1529/CH21/EX21.25/21_25.sce b/1529/CH21/EX21.25/21_25.sce
new file mode 100755
index 000000000..bd528915f
--- /dev/null
+++ b/1529/CH21/EX21.25/21_25.sce
@@ -0,0 +1,13 @@
+//Chapter 21, Problem 25
+clc;
+V=24; //ac source
+R1=15e3; //input resistance
+N=25/1; //turns ratio
+Rin=15e3; //internal resistance
+Rl=R1*(1/N)^2; //load resistance
+Rt=Rin+R1; //total input resistance
+I1=V/Rt; //primary current
+I2=I1*N; //secondary current
+P=I2^2*Rl; //power dissipated
+printf("(a) Load resistance = %d ohms\n\n",Rl);
+printf("(b) Power dissipated in the load = %.1f mW",P*1000);