summaryrefslogtreecommitdiff
path: root/10/CH6
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /10/CH6
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '10/CH6')
-rwxr-xr-x10/CH6/EX4/cha6_4.sce60
1 files changed, 30 insertions, 30 deletions
diff --git a/10/CH6/EX4/cha6_4.sce b/10/CH6/EX4/cha6_4.sce
index 1c792025f..58fae92db 100755
--- a/10/CH6/EX4/cha6_4.sce
+++ b/10/CH6/EX4/cha6_4.sce
@@ -1,30 +1,30 @@
-V=208;F=60;Phase=3;Power=3000;Xs=8;
-
-Vt=V/sqrt(Phase)
-
-Ia=Power/(Phase*Vt)
-
-function[x,y]=polar2rect(r,theta)
-x=r*cos(theta*%pi/180);
-y=r*sin(theta*%pi/180);
-endfunction
-[x1,y1]=polar2rect(120,0)
-
-[x2,y2]=polar2rect(8.33,0)
-
-[x3,y3]=polar2rect(8,90)
-
-X=X1-(X2*X3)
-
-function[r,theta]=rect2polar(x,y)
-r=sqrt(x^2+y^2);
-theta=atan(y/x)*180/%pi;
-endfunction
-
-[Ef,Angle]=rect2polar(120,-66.64)
-
-Pmax=(Phase*Ef*Vt)/Xs
-
-Ws=(1800/F)*2*%pi
-
-Tmax=Pmax/Ws
+V=208;F=60;Phase=3;Power=3000;Xs=8;
+
+Vt=V/sqrt(Phase)
+
+Ia=Power/(Phase*Vt)
+
+function[x,y]=polar2rect(r,theta)
+x=r*cos(theta*%pi/180);
+y=r*sin(theta*%pi/180);
+endfunction
+[x1,y1]=polar2rect(120,0)
+
+[x2,y2]=polar2rect(8.33,0)
+
+[x3,y3]=polar2rect(8,90)
+
+X=x1-(x2*x3)
+
+function[r,theta]=rect2polar(x,y)
+r=sqrt(x^2+y^2);
+theta=atan(y/x)*180/%pi;
+endfunction
+
+[Ef,Angle]=rect2polar(120,-66.64)
+
+Pmax=(Phase*Ef*Vt)/Xs
+
+Ws=(1800/F)*2*%pi
+
+Tmax=Pmax/Ws \ No newline at end of file