summaryrefslogtreecommitdiff
path: root/3556/CH9/EX9.7/Ex9_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3556/CH9/EX9.7/Ex9_7.sce')
-rw-r--r--3556/CH9/EX9.7/Ex9_7.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3556/CH9/EX9.7/Ex9_7.sce b/3556/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..8dc1f0c8a
--- /dev/null
+++ b/3556/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,24 @@
+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 9 : Sinusoids and Phasors
+// Example 9 - 7
+
+clear; clc; close;
+//
+// Given data
+V = complex(50*cosd(75.0000),50*sind(75.0000));
+Z = complex(4.0000,-10.0000);
+//
+// Calculations I
+I = V/Z;
+I_mag = norm(I);
+I_angle = atand(imag(I),real(I));
+//
+disp("Example 9-7 Solution : ");
+printf(" \n I_mag = Magnitude of I = %.3f A",I_mag)
+printf(" \n I_angle = Angle of I = %.3f degree",I_angle)