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 /215/CH13/EX13.4/ex13_4.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 '215/CH13/EX13.4/ex13_4.sce')
-rwxr-xr-x | 215/CH13/EX13.4/ex13_4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/215/CH13/EX13.4/ex13_4.sce b/215/CH13/EX13.4/ex13_4.sce new file mode 100755 index 000000000..f342ef2e7 --- /dev/null +++ b/215/CH13/EX13.4/ex13_4.sce @@ -0,0 +1,19 @@ +clc
+//Example 13.4
+disp('Given')
+disp('L1=0.4H L2=2.5H k=0.6 i1=4i2=20*cos(500t-20)mA')
+L1=0.4;L2=2.5;k=0.6;
+disp('a)')
+t=0;
+i2=5*cos(500*t-(20*%pi)/180)
+printf("i2(0)=%3.2f mA \n",i2)
+disp('b)')
+M=k*sqrt(L1*L2)
+//v1(t)=L1*d/dt(i1)+M*d/dt(i2)
+v1=-L1*20*500*10^-3*sin(500*t-(20*%pi)/180)-M*5*500*10^-3*sin(500*t-(20*%pi)/180)
+printf("v1(0)=%3.2f V \n",v1)
+disp('c')
+//The total energy can be found as
+w=(L1*(4*i2)^2)/2+ (L2*(i2)^2)/2+M*(4*i2)*(i2)
+printf("w=%3.2f uJ \n",w)
+
|