summaryrefslogtreecommitdiff
path: root/343/CH3/EX3.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /343/CH3/EX3.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '343/CH3/EX3.1')
-rwxr-xr-x343/CH3/EX3.1/ex3_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/343/CH3/EX3.1/ex3_1.sce b/343/CH3/EX3.1/ex3_1.sce
new file mode 100755
index 000000000..9e38fb686
--- /dev/null
+++ b/343/CH3/EX3.1/ex3_1.sce
@@ -0,0 +1,20 @@
+clc
+f=50; //Assigning values to parameters
+Vl=400;
+Rph=20;
+L=0.5;
+Xl=2*%pi*f*L;
+Zph=20+%i*157;
+[r,t]=polar(Zph);
+Vph=Vl/sqrt(3); //Star connection
+Iph=Vph/r;
+Il=Iph;
+P=sqrt(3)*Vl*Il*cos(t);
+disp("Amperes",Il,"The line current for Star connection is");
+disp("Watts",polar(P),"The total power absorbed in Star connection is");
+Vph=Vl; //Delta connection
+Iph=Vph/r;
+Il=sqrt(3)*Iph;
+P=sqrt(3)*Vl*Il*cos(t);
+disp("Amperes",Il,"The line current for Delta connection is");
+disp("Watts",polar(P),"The total power absorbed in Delta connection is"); \ No newline at end of file