summaryrefslogtreecommitdiff
path: root/3760/CH1/EX1.63
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3760/CH1/EX1.63
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 '3760/CH1/EX1.63')
-rw-r--r--3760/CH1/EX1.63/Ex1_63.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3760/CH1/EX1.63/Ex1_63.sce b/3760/CH1/EX1.63/Ex1_63.sce
new file mode 100644
index 000000000..1a9ee6c6d
--- /dev/null
+++ b/3760/CH1/EX1.63/Ex1_63.sce
@@ -0,0 +1,17 @@
+clc;
+L1=4*10^-3; // self indutance of winding 1
+L2=6*10^-3; // self indutance of winding 2
+M=1.8*10^-3; // mutual inductance of two windings
+E1=130; // supply voltage for winding 1
+f=500/%pi; // frequency of supply
+l=0.2*10^-3; // load connected to winding 2
+// writing voltage in rms form in matrix form V1=r1*I1+jw*L1*I1-jw*m*I2, V2=-r2*I2-jw*L2*I2+jw*m*I1 to determine I1 and I2
+t1=%i*2*%pi*f*L1;
+t2=-%i*2*%pi*f*M;
+t3=%i*2*%pi*f*M;
+t4=-%i*2*%pi*f*l-%i*2*%pi*f*L2; // writing different terms of matrix
+s=[t1 t2;t3 t4];
+v=[130;0];
+i=inv(s)*v; // calculating current in two windings
+p=-imag(i(1));
+printf('magnitude of current in primary winding is %f A',p);