summaryrefslogtreecommitdiff
path: root/3556/CH9/EX9.10/Ex9_10.sce
blob: 517b83fdcc052fae21c1705d4c4abd4f2c612f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 - 10

clear; clc; close; 
//
// Given data
Z1  =  complex(0.0000,-10.0000);
Z2  =  complex(3.0000,-2.0000);
Z3  =  complex(8.0000,10.0000);
//
// Calculations Zp = Z2//Z3
Zp = (Z2*Z3)/(Z2+Z3);
// Calculations Ztot
Zin = Z1 + Zp
Zin_real = real(Zin);
Zin_imaginer = imag(Zin);
//
disp("Example 9-10 Solution : ");
printf(" \n Zin_real   = Real Part of Zin            = %.3f Ohm",Zin_real)
printf(" \n Zin_angle  = Imaginer Part of Zin        = %.3f Ohm",Zin_imaginer)