summaryrefslogtreecommitdiff
path: root/3673/CH7/EX7.a.15/Example_a_7_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH7/EX7.a.15/Example_a_7_15.sce')
-rw-r--r--3673/CH7/EX7.a.15/Example_a_7_15.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3673/CH7/EX7.a.15/Example_a_7_15.sce b/3673/CH7/EX7.a.15/Example_a_7_15.sce
new file mode 100644
index 000000000..001ff6637
--- /dev/null
+++ b/3673/CH7/EX7.a.15/Example_a_7_15.sce
@@ -0,0 +1,11 @@
+//Example_a_7_15 page no:282
+clc;
+Rs=2;
+Rl=20;
+Zt=Rs-%i*5+Rl;
+Vs=50;
+I=Vs/Zt;
+Imag=sqrt(real(I)^2+imag(I)^2);
+P=Imag^2*Rl;
+disp(P,"the maximum power transferred is (in W)");
+//power varies slightly due to values are rounded off in text book