summaryrefslogtreecommitdiff
path: root/1964/CH2/EX2.9/ex2_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1964/CH2/EX2.9/ex2_9.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1964/CH2/EX2.9/ex2_9.sce')
-rwxr-xr-x1964/CH2/EX2.9/ex2_9.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1964/CH2/EX2.9/ex2_9.sce b/1964/CH2/EX2.9/ex2_9.sce
new file mode 100755
index 000000000..e8b79baec
--- /dev/null
+++ b/1964/CH2/EX2.9/ex2_9.sce
@@ -0,0 +1,19 @@
+//Chapter-2, Example 2.9, Page 95
+//=============================================================================
+clc;
+clear;
+//INPUT DATA
+lg=10^-3;//length of air gap in m
+B=0.9;//flux density in wb/m^2
+li=0.3;//length of ironpath in m
+Hi=800;//magnetic flux density in AT/m
+u0=4*%pi*10^-7;//permeabilty in free space
+//CALCULATIONS
+//for iron path
+MMF_required1=Hi*li;//magnetic motive force in AT
+//for air gap
+MMF_required2=(B/u0)*lg;//magnetic motive force in AT
+Totalmmf=MMF_required1+MMF_required2
+//OUTPUT
+mprintf("Thus total MMF required is %d AT",Totalmmf);
+ //=================================END OF PROGRAM==============================