summaryrefslogtreecommitdiff
path: root/343/CH3/EX3.11/ex3_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH3/EX3.11/ex3_11.sce')
-rwxr-xr-x343/CH3/EX3.11/ex3_11.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/343/CH3/EX3.11/ex3_11.sce b/343/CH3/EX3.11/ex3_11.sce
new file mode 100755
index 000000000..d58c151da
--- /dev/null
+++ b/343/CH3/EX3.11/ex3_11.sce
@@ -0,0 +1,21 @@
+clc
+vl=415 //assigning values to the parameters
+r=15
+l=0.1
+c=0.000000177
+f=50
+vph=vl/sqrt(3)
+xl=2*%pi*f*l
+xc=1/(2*%pi*f*c)
+zph=r+%i*(xl-xc)
+[r1,t]=polar(zph)
+iph=vph/zph
+il=iph
+p=sqrt(3)*vl*il*cos(t)
+q=sqrt(3)*vl*il*sin(t)
+s=sqrt(3)*vl*il
+disp("Amperes",polar(iph),"The phase current is")
+disp("Amperes",polar(il),"The line current is")
+disp("Watts",polar(p),"The power drawn is")
+disp("Watts",polar(q),"The reactive power is")
+disp("VA",polar(s),"The total kVA is") \ No newline at end of file