summaryrefslogtreecommitdiff
path: root/620/CH26/EX26.7/example26_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH26/EX26.7/example26_7.sce')
-rw-r--r--620/CH26/EX26.7/example26_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/620/CH26/EX26.7/example26_7.sce b/620/CH26/EX26.7/example26_7.sce
new file mode 100644
index 000000000..31454cd1c
--- /dev/null
+++ b/620/CH26/EX26.7/example26_7.sce
@@ -0,0 +1,10 @@
+v=120;
+f=60;
+i=5;
+p=525;
+disp("Part a");
+s=i*v;
+disp("the apparent power (in VA) is"); disp(s);
+disp("Part b");
+q=sqrt(s^2-p^2);
+disp("the reactive power (in VAr) is"); disp(q); \ No newline at end of file