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/CH2/EX2.75/ex2_75.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/CH2/EX2.75/ex2_75.sce')
-rwxr-xr-x | 343/CH2/EX2.75/ex2_75.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/343/CH2/EX2.75/ex2_75.sce b/343/CH2/EX2.75/ex2_75.sce new file mode 100755 index 000000000..0871d4e36 --- /dev/null +++ b/343/CH2/EX2.75/ex2_75.sce @@ -0,0 +1,24 @@ +clc
+V=230; //Assigning values to parameters
+f=50;
+L=0.08;
+Xl=2*%pi*f*L;
+C=200*10^-6;
+Xc=1/(2*%pi*f*C);
+Z1=20+%i*25.13;
+Z2=10-%i*15.92;
+Y1=1/Z1;
+Y2=1/Z2;
+Y=Y1+Y2;
+I=V*Y;
+[r,t]=polar(I);
+pf=cos(t);
+Z=1/Y;
+R=real(Z);
+Xc=-1*imag(Z);
+C=1/(2*%pi*f*Xc);
+disp("Amperes",I,polar(I),"Supply Current");
+disp(pf,polar(pf),"Power factor");
+disp("Ohms",Z,polar(Z),"Total impedance");
+disp("Ohms",R,"Resistance of eequivalent series circuit");
+disp("Farads",C,"Capacitance of eequivalent series circuit");
\ No newline at end of file |