From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 10/CH2/EX3/cha2_3.sce | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100755 10/CH2/EX3/cha2_3.sce (limited to '10/CH2/EX3') diff --git a/10/CH2/EX3/cha2_3.sce b/10/CH2/EX3/cha2_3.sce new file mode 100755 index 000000000..eaf960888 --- /dev/null +++ b/10/CH2/EX3/cha2_3.sce @@ -0,0 +1,60 @@ +Fullload=75;Ia=4.55;Vl=2200; + +Fulload=Fullload/100 + +Ih=Fullload*Ia + +function[x,y]=polar2rect(r,theta) +x=r*cos(theta*%pi/180); +y=r*sin(theta*%pi/180); +endfunction + +[x1,y1]=polar2rect(Vl,0) + +[x2,y2]=polar2rect(35.46,-53.13) + +[x3,y3]=polar2rect(106.73,36.87) + +X1=x1+%i*y1 + +X2=x2+%i*y2 + +X3=x3+%i*y3 + +X=X1+X2+X3 + +function[r,theta]=rect2polar(x,y) +r=sqrt(x^2+y^2); +theta=atan(y/x)*180/%pi; +endfunction + +[V,Angle]=rect2polar(2306.5,35.67) + +VolReg=(V-Vl)/Vl*100 + +function[x,y]=polar2rect(r,theta) +x=r*cos(theta*%pi/180); +y=r*sin(theta*%pi/180); +endfunction +[x1,y1]=polar2rect(Vl,0) + +[x2,y2]=polar2rect(35.46,53.13) + +[x3,y3]=polar2rect(106.73,143.13) + +X1=x1+%i*y1 + +X2=x2+%i*y2 + +X3=x3+%i*y3 + +X=X1+X2+X3 + +function[r,theta]=rect2polar(x,y) +r=sqrt(x^2+y^2); +theta=atan(y/x)*180/%pi; +endfunction + +[V1,Angle1]=rect2polar(2135.89,92.4) + +VolReg=(V1-Vl)/Vl*100 -- cgit