diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH7/EX7.11/Ex7_11.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3871/CH7/EX7.11/Ex7_11.sce')
-rw-r--r-- | 3871/CH7/EX7.11/Ex7_11.sce | 22 |
1 files changed, 22 insertions, 0 deletions
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);
|