summaryrefslogtreecommitdiff
path: root/3556/CH10/EX10.9/Ex10_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3556/CH10/EX10.9/Ex10_9.sce')
-rw-r--r--3556/CH10/EX10.9/Ex10_9.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3556/CH10/EX10.9/Ex10_9.sce b/3556/CH10/EX10.9/Ex10_9.sce
new file mode 100644
index 000000000..02c9bddce
--- /dev/null
+++ b/3556/CH10/EX10.9/Ex10_9.sce
@@ -0,0 +1,25 @@
+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 10 : Sinusoidal Steady State Analysis
+// Example 10 - 9
+clear; clc; close;
+
+// Given data
+Z1 = complex(2.0000,-4.000);
+Z2 = complex(4.0000,3.0000);
+Io = complex(10.0000,0.0000)
+Is = complex(15.0000,0.0000)
+// Calculations Vth
+Vth = (Io*Z1) - (5*Z2);
+Vth_mag = norm(Vth);
+Vth_angle = atand(imag(Vth),real(Vth))
+//
+// Display the result
+disp("Example 10-9 Solution : ");
+printf(" \n Vth_mag = Magnitude of Vth = %.3f Volt",Vth_mag)
+printf(" \n Vth_angle = Angle of Vth = %.3f degree",Vth_angle)