diff options
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 |