summaryrefslogtreecommitdiff
path: root/3556/CH11/EX11.1/Ex11_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3556/CH11/EX11.1/Ex11_1.sce')
-rw-r--r--3556/CH11/EX11.1/Ex11_1.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3556/CH11/EX11.1/Ex11_1.sce b/3556/CH11/EX11.1/Ex11_1.sce
new file mode 100644
index 000000000..6eadd8f9f
--- /dev/null
+++ b/3556/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,31 @@
+clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 2 : AC Circuits
+// Chapter 11 : AC Power Analysis
+// Example 11 - 1
+
+clear; clc; close;
+
+// Given data
+Vm_mag = 120.0000;
+Vm_angle = 45.0000;
+Im_mag = 10.0000;
+Im_angle = -10.0000;
+//
+// Calculations Average Power
+P = 0.5000 * Vm_mag * Im_mag * cosd(Vm_angle - Im_angle);
+//
+// Display the result
+disp("Example 11-1 Solution : ");
+printf(" \n P = Average Power = %.3f Watt",P)
+
+
+
+
+
+
+