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 /1523/CH4/EX4.33 | |
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 '1523/CH4/EX4.33')
-rwxr-xr-x | 1523/CH4/EX4.33/ex4_33.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1523/CH4/EX4.33/ex4_33.sce b/1523/CH4/EX4.33/ex4_33.sce new file mode 100755 index 000000000..6b76d6219 --- /dev/null +++ b/1523/CH4/EX4.33/ex4_33.sce @@ -0,0 +1,14 @@ +//AC Circuits : example 4.33 :pg(4.27)
+Vm=177;
+Im=14.14;
+phi=30;
+V=(Vm/sqrt(2));
+I=(Im/sqrt(2));
+pf=cosd(30);
+P=(V*I*pf);
+disp("v(t)=177sin(314t+10)");// value of 10 is in degrees
+disp("i(t)=14.14sin(314t-20)");//value of 20 is in degrees
+mprintf("\nCurrent i(t) lags behind voltage v(t) by 30degrees");
+disp("phi=30degrees");
+printf("Power factor pf=cos(30)=%.3f (lagging)",pf);
+printf("\nPower consumed P=V*I*cos(phi)=%.1f W",P);
\ No newline at end of file |