summaryrefslogtreecommitdiff
path: root/Working_Examples/154/DEPENDENCIES/ch11_4.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/154/DEPENDENCIES/ch11_4.sce')
-rwxr-xr-xWorking_Examples/154/DEPENDENCIES/ch11_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/Working_Examples/154/DEPENDENCIES/ch11_4.sce b/Working_Examples/154/DEPENDENCIES/ch11_4.sce
new file mode 100755
index 0000000..76ad594
--- /dev/null
+++ b/Working_Examples/154/DEPENDENCIES/ch11_4.sce
@@ -0,0 +1,14 @@
+clc
+disp("Problem 11.4")
+printf("\n")
+
+printf("Given")
+disp("Veff=110V Z=10+i8 ohm")
+Veff=110;
+Z=10+%i*8
+Zmag=sqrt(10^2+8^2)
+Zph=(atan(8/10)*180)/%pi
+P=(Veff^2*R)/(Zmag^2)
+pf=cos((Zph*%pi)/180)
+
+disp(pf,"Power factor is") \ No newline at end of file