summaryrefslogtreecommitdiff
path: root/620/CH26/EX26.12/example26_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH26/EX26.12/example26_12.sce')
-rw-r--r--620/CH26/EX26.12/example26_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/620/CH26/EX26.12/example26_12.sce b/620/CH26/EX26.12/example26_12.sce
new file mode 100644
index 000000000..f1c2ced25
--- /dev/null
+++ b/620/CH26/EX26.12/example26_12.sce
@@ -0,0 +1,19 @@
+deg=41*%pi/180;
+v=240;
+i=6;
+p_out=746;
+disp("Part a");
+pf=cos(deg);
+disp("power factor of the motor is"); disp(pf);
+disp("Part b");
+s=v*i;
+disp("apparent power (in VA) is"); disp(s);
+disp("Part c");
+p=v*i*pf;
+disp("true power (in W) is");disp(p);
+disp("Part d");
+q=v*i*sin(deg);
+disp("reactive power (in VAr) is"); disp(q);
+disp("Part d");
+eff=p_out*100/p;
+disp("the effieciency (in %) of the motor is"); disp(eff); \ No newline at end of file