From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3556/CH9/EX9.11/Ex9_11.sce | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 3556/CH9/EX9.11/Ex9_11.sce (limited to '3556/CH9/EX9.11/Ex9_11.sce') diff --git a/3556/CH9/EX9.11/Ex9_11.sce b/3556/CH9/EX9.11/Ex9_11.sce new file mode 100644 index 000000000..7e7b118e1 --- /dev/null +++ b/3556/CH9/EX9.11/Ex9_11.sce @@ -0,0 +1,34 @@ +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 - 11 + +clear; clc; close; +// +// Given data +L = 5.0000; +C = 0.0100; +w = 4.0000; +R = 60.0000; +Vs = complex(20*cosd(-15.0000),20*sind(-15.0000)); +ZL = complex(0.0000,w*L); +ZC = complex(0.0000,-1/(w*C)); +ZR = complex(R,0.0000); +// +// Calculations Zp = ZL//ZC +Zp = (ZL*ZC)/(ZL+ZC); +// Calculations Ztot +Ztot = ZR + Zp; +// Calculations Vo +Vo = ((Zp)/(Ztot)) * Vs; +Vo_mag = norm(Vo); +Vo_angle = atand(imag(Vo),real(Vo)); +// +disp("Example 9-11 Solution : "); +printf(" \n Vo_mag = Magnitude of Vo = %.3f Volt",Vo_mag) +printf(" \n Vo_angle = Angle of Vo = %.3f degree",Vo_angle) -- cgit