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 /154/CH15/EX15.4/ch15_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 '154/CH15/EX15.4/ch15_4.sce')
-rwxr-xr-x | 154/CH15/EX15.4/ch15_4.sce | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/154/CH15/EX15.4/ch15_4.sce b/154/CH15/EX15.4/ch15_4.sce new file mode 100755 index 000000000..a2703a407 --- /dev/null +++ b/154/CH15/EX15.4/ch15_4.sce @@ -0,0 +1,34 @@ +clc
+disp("Example 15.4")
+printf("\n")
+
+printf("Given")
+disp("L1=0.1H L2=0.2H")
+disp("i1=4A i2=10A")
+L1=0.1;L2=0.2
+i1=4;i2=10;
+//The energy stored in coupled coils is
+disp("W=(L1*i1^2)/2+(L2*i2^2)/2+M*i1*i2")
+
+disp("a)")
+M=0.1;
+W=(L1*i1^2)/2+(L2*i2^2)/2+M*i1*i2;
+printf("Total Energy in the coils=%3.2fJ\n",W);
+
+disp("b)")
+M=sqrt(2)/10;
+W=(L1*i1^2)/2+(L2*i2^2)/2+M*i1*i2;
+printf("Total Energy in the coils=%3.2fJ\n",W);
+
+disp("c)")
+M=-0.1;
+W=(L1*i1^2)/2+(L2*i2^2)/2+M*i1*i2;
+printf("Total Energy in the coils=%3.2fJ\n",W);
+
+disp("a)")
+M=-sqrt(2)/10;
+W=(L1*i1^2)/2+(L2*i2^2)/2+M*i1*i2;
+printf("Total Energy in the coils=%3.2fJ\n",W);
+
+
+
|