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 /608/CH40/EX40.23 | |
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 '608/CH40/EX40.23')
-rwxr-xr-x | 608/CH40/EX40.23/40_23.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/608/CH40/EX40.23/40_23.sce b/608/CH40/EX40.23/40_23.sce new file mode 100755 index 000000000..9d6ade79c --- /dev/null +++ b/608/CH40/EX40.23/40_23.sce @@ -0,0 +1,18 @@ +//Problem 40.23: The airgap of a moving coil instrument is 2.0 mm long and has a cross-sectional area of 500 mm2. If the flux density is 50 mT, determine the total energy stored in the magnetic field of the airgap.
+
+//initializing the variables:
+B = 0.05; // in Tesla
+A = 500E-6; // in m2
+l = 0.002; // in m
+u0 = 4*%pi*1E-7;
+
+//calculation:
+//energy stored
+W = (B^2)/(2*u0)
+//Volume of airgap
+v = A*l
+//energy stored in airgap
+W = W*v
+
+printf("\n\n Result \n\n")
+printf("\nenergy stored in the airgap is %.2E J",W)
\ No newline at end of file |