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.60/ex2_60.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.60/ex2_60.sce')
-rwxr-xr-x | 343/CH2/EX2.60/ex2_60.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/343/CH2/EX2.60/ex2_60.sce b/343/CH2/EX2.60/ex2_60.sce new file mode 100755 index 000000000..79c3d4690 --- /dev/null +++ b/343/CH2/EX2.60/ex2_60.sce @@ -0,0 +1,19 @@ +clc
+V=200; //Assigning values to parameters
+f=50;
+Ra=10;
+La=0.12;
+Rb=20;
+Cb=40*10^-6;
+Xla=2*%pi*f*La;
+Xcb=1/(2*%pi*f*Cb);
+Za=Ra+%i*Xla;
+Zb=Rb-%i*Xcb;
+Zeq=(Za*Zb)/(Za+Zb);
+[r,t]=polar(Zeq);
+Ia=V/Za;
+Ib=V/Zb;
+pf=cos(t);
+disp("Amperes",polar(Ia),"Branch current 1");
+disp("Amperes",polar(Ib),"Branch current 2");
+disp(real(pf),"power factor");
\ No newline at end of file |