summaryrefslogtreecommitdiff
path: root/3507/CH1/EX1.10/Ex1_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH1/EX1.10/Ex1_10.sce')
-rw-r--r--3507/CH1/EX1.10/Ex1_10.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3507/CH1/EX1.10/Ex1_10.sce b/3507/CH1/EX1.10/Ex1_10.sce
new file mode 100644
index 000000000..fecffbd30
--- /dev/null
+++ b/3507/CH1/EX1.10/Ex1_10.sce
@@ -0,0 +1,21 @@
+//chapter1
+//example1.10
+//page18
+
+V=120 // V
+R1=40 // ohm
+R2=20 // ohm
+R3=60 // ohm
+
+//removing load, voltage across AB is
+E0=R2*V/(R1+R2)
+
+//replacing voltage source by short and removing load, resistance across AB is
+R0=R3+(R1*R2/(R1+R2))
+
+//for maximum power transfer, load must be equal to resistance across AB so
+Rl=R0
+
+P=E0^2/(4*Rl)
+printf("load resistance for maximum power transfer = %.3f ohm \n",Rl)
+printf("maximum power to load = %.3f W",P)