summaryrefslogtreecommitdiff
path: root/3673/CH6/EX6.a.8
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3673/CH6/EX6.a.8
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3673/CH6/EX6.a.8')
-rw-r--r--3673/CH6/EX6.a.8/Example_a_6_8.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/3673/CH6/EX6.a.8/Example_a_6_8.sce b/3673/CH6/EX6.a.8/Example_a_6_8.sce
new file mode 100644
index 000000000..a72764794
--- /dev/null
+++ b/3673/CH6/EX6.a.8/Example_a_6_8.sce
@@ -0,0 +1,35 @@
+//Example_a_6_8 page no:238
+clc;
+X2=sqrt((16.67^2)-(10^2));
+V=100;
+Imag=6;
+pf=450/600;
+theta=acosd(pf);
+Iang=theta;
+Vmag=Imag*16.66;
+Vang=-41.4+53.1;
+Vreal=Vmag*cosd(Vang);
+Vimag=Vmag*sind(Vang);
+V1real=100;
+V1=V1real-Vreal-(Vimag*%i);
+V1mag=sqrt(real(V1)^2+imag(V1)^2);
+V1ang=atand(imag(V1)/real(V1));
+I2mag=V1mag/20;
+I2ang=V1ang-(-90);
+Ireal=Imag*cosd(Iang);
+Iimag=Imag*sind(Iang);
+I=Ireal-(Iimag*%i);
+I2real=I2mag*cosd(I2ang);
+I2imag=I2mag*sind(I2ang);
+I2=I2real+(I2imag*%i);
+I1=I-I2;
+I1mag=sqrt(real(I1)^2+imag(I1)^2);
+I1ang=atand(imag(I1)/real(I1));
+Z1mag=V1mag/I1mag;
+Z1ang=V1ang-I1ang;
+Zreal=Z1mag*cosd(Z1ang);
+Zimag=Z1mag*sind(Z1ang);
+R1=Zreal;
+X1=-Zimag;//here negative sign is used to take only reactance value
+disp(R1,"the resistance is (in ohm)");
+disp(X1,"the reactance is (in ohm)");