diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /343/CH3/EX3.1/ex3_1.sce | |
download | Scilab-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/ex3_1.sce')
-rwxr-xr-x | 343/CH3/EX3.1/ex3_1.sce | 20 |
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 |