summaryrefslogtreecommitdiff
path: root/2345/CH15/EX15.26/Ex15_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH15/EX15.26/Ex15_26.sce')
-rwxr-xr-x2345/CH15/EX15.26/Ex15_26.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2345/CH15/EX15.26/Ex15_26.sce b/2345/CH15/EX15.26/Ex15_26.sce
new file mode 100755
index 000000000..8e9c29e99
--- /dev/null
+++ b/2345/CH15/EX15.26/Ex15_26.sce
@@ -0,0 +1,14 @@
+//Finding flux
+//Example 15.26(pg. 409)
+clc
+clear
+D=0.3//diameter of anchor ring in m
+l=%pi*D//length of iron ring in m
+N=400//number of turns on the iron ring
+a=0.0012//area of cross section of iron path in m^2
+Ur=1000//relative permeability
+Uo=4*%pi*(10^-7)//permeability
+I=2//current in A
+phi=(N*I)/(l/(Uo*Ur*a))//flux through iron path in WB
+phi1=phi/(10^-3)//flux in mWb
+printf('Thus flux through iron path is %2.2f mWb',phi1)