From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1760/CH2/EX2.40/EX2_40.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1760/CH2/EX2.40/EX2_40.sce (limited to '1760/CH2/EX2.40') diff --git a/1760/CH2/EX2.40/EX2_40.sce b/1760/CH2/EX2.40/EX2_40.sce new file mode 100755 index 000000000..b57c6815b --- /dev/null +++ b/1760/CH2/EX2.40/EX2_40.sce @@ -0,0 +1,15 @@ + //EXAMPLE 2-40 PG NO-89-90 +V1=52.33-%i*34.15878; +Z1=7.5-%i*9.999; //IMPEDANCE +Z2=3.488+%i*12; //IMPEDANCE +Z3=11.99+%i*5; +V2=[Z2/Z1]*V1; +disp('i) voltage (V2) is in polar form = '+string (V2) +' V '); +V3=[Z3/Z1]*V1; //voltage +disp('ii) voltage (V3) is in polar form = '+string (V3) +' V '); +V=V1+V2+V3; //total voltage +disp('i) voltage (V) is in polar form = '+string (V) +' V '); +Z=Z1+Z2+Z3; //Total Impedance +disp('i) IMPEDANCE (Z) is in polar form = '+string (Z) +' V '); +Y=1/Z; //Admittance +disp('i) Y (Y) is in polar form = '+string (Y) +' ohm '); -- cgit