summaryrefslogtreecommitdiff
path: root/Working_Examples/154/CH11/EX11.5/ch11_5.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/154/CH11/EX11.5/ch11_5.sce')
-rwxr-xr-xWorking_Examples/154/CH11/EX11.5/ch11_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/Working_Examples/154/CH11/EX11.5/ch11_5.sce b/Working_Examples/154/CH11/EX11.5/ch11_5.sce
new file mode 100755
index 0000000..220644b
--- /dev/null
+++ b/Working_Examples/154/CH11/EX11.5/ch11_5.sce
@@ -0,0 +1,14 @@
+clc
+disp("Problem 11.5")
+printf("\n")
+
+printf("Given")
+disp("Veff=110V Ieff=20(-50 deg)")
+Imagn=20;Iph =-50;
+Veff=110;
+
+P=Veff*Imagn*cos((abs(Iph)*%pi)/180)
+Q=Veff*Imagn*sin((abs(Iph)*%pi)/180)
+printf("Average power is %3.1fW\n",P)
+printf("Reactive power is %3.1fvar\n",Q)
+