summaryrefslogtreecommitdiff
path: root/1628/CH10/EX10.4/Ex10_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1628/CH10/EX10.4/Ex10_4.sce')
-rwxr-xr-x1628/CH10/EX10.4/Ex10_4.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1628/CH10/EX10.4/Ex10_4.sce b/1628/CH10/EX10.4/Ex10_4.sce
new file mode 100755
index 000000000..6bae0e6da
--- /dev/null
+++ b/1628/CH10/EX10.4/Ex10_4.sce
@@ -0,0 +1,29 @@
+
+
+ // Example 10.4
+
+ // Given V= 160+i120 & I= -4+i10
+Vi= 160+%i*120; // Sinusoidal Voltage i.e 200<36.87
+Ii= -4+%i*10; // Sinusoidal Current i.e 10.77<111.8
+Z=Vi/Ii; // Impedance
+Q=-74.93; // Phase Angle
+V=200; // peak Value of Voltage
+I=10.77; // peak Value of Current
+disp(' Impedance = '+string(Z)+' Ohms');
+
+pf=cosd(Q); // Power Fector
+disp(' Power Factor = '+string(pf)+' Leading');
+disp(' the Circuit is Capacitive , Becuase Imaginary part of impedance is negative .');
+
+Pa=V*I*cosd(Q); // Active Power
+disp(' Active Power = '+string(Pa)+' Watt');
+
+Pr=V*I*sind(Q); // Reactive Power
+disp(' Reactive Power = '+string(-Pr)+' VAR');
+
+
+
+
+
+ // p 348 10.4
+