diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1628/CH10/EX10.4 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1628/CH10/EX10.4')
-rwxr-xr-x | 1628/CH10/EX10.4/Ex10_4.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/1628/CH10/EX10.4/Ex10_4.sce b/1628/CH10/EX10.4/Ex10_4.sce new file mode 100755 index 000000000..6bae0e6da --- /dev/null +++ b/1628/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,29 @@ + + + // Example 10.4 + + // Given V= 160+i120 & I= -4+i10 +Vi= 160+%i*120; // Sinusoidal Voltage i.e 200<36.87 +Ii= -4+%i*10; // Sinusoidal Current i.e 10.77<111.8 +Z=Vi/Ii; // Impedance +Q=-74.93; // Phase Angle +V=200; // peak Value of Voltage +I=10.77; // peak Value of Current +disp(' Impedance = '+string(Z)+' Ohms'); + +pf=cosd(Q); // Power Fector +disp(' Power Factor = '+string(pf)+' Leading'); +disp(' the Circuit is Capacitive , Becuase Imaginary part of impedance is negative .'); + +Pa=V*I*cosd(Q); // Active Power +disp(' Active Power = '+string(Pa)+' Watt'); + +Pr=V*I*sind(Q); // Reactive Power +disp(' Reactive Power = '+string(-Pr)+' VAR'); + + + + + + // p 348 10.4 + |