From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3871/CH7/EX7.11/Ex7_11.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 3871/CH7/EX7.11/Ex7_11.sce (limited to '3871/CH7/EX7.11/Ex7_11.sce') diff --git a/3871/CH7/EX7.11/Ex7_11.sce b/3871/CH7/EX7.11/Ex7_11.sce new file mode 100644 index 000000000..c3339acdb --- /dev/null +++ b/3871/CH7/EX7.11/Ex7_11.sce @@ -0,0 +1,22 @@ +//=========================================================================== +//chapter 7 example 11 + +clc;clear all; + +//variable declaration +I1 = 2.5; //current across an inductive load in A +I2 = 2.4; //current across an non- inductive resistor in A +I3 = 4.5; //current across the two in series in A +V = 250; //supply voltage in V + + +//calculations +R = V/I2; // non- inductive resistance in Ω +P = ((I3^2)-(I1^2)-(I2^2))*(R/2); //power absorbed by the load in watts +Z = V/I1; //load impedance in Ω +x = ((I3^2)-(I1^2)-(I2^2))/(2*I1*I2); //cos(phi) + +//result +mprintf("power absorbed by the load = %3.2f watts",P); +mprintf("\nload impedance = %3.2f Ω",Z); +mprintf("\npower factor cos (phi) = %3.4f lagging",x); -- cgit