summaryrefslogtreecommitdiff
path: root/2642/CH2/EX2.6
diff options
context:
space:
mode:
Diffstat (limited to '2642/CH2/EX2.6')
-rwxr-xr-x2642/CH2/EX2.6/Ex2_6.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/2642/CH2/EX2.6/Ex2_6.sce b/2642/CH2/EX2.6/Ex2_6.sce
new file mode 100755
index 000000000..510375511
--- /dev/null
+++ b/2642/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,30 @@
+// FUNDAMENTALS OF ELECTICAL MACHINES
+// M.A.SALAM
+// NAROSA PUBLISHING HOUSE
+// SECOND EDITION
+
+// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
+// Example : 2.6
+
+clc;clear; // clears the console and command history
+
+// Given data
+N = 200 // number of turns
+d_in = 7 // inner diameter of wooden toroidal coil in cm
+d_out = 10 // outer diameter of wooden toroidal coil in cm
+A = 0.005 // cross sectional area m^2
+I = 5 // current through coil in A
+R = d_out-d_in
+myu_0 = 4*%pi*10^-7
+
+// caclulations
+l = 2*%pi*R*10^-2 // mean circumference length in m
+H = N*I/l // magnetic field intensity in At/m
+B = myu_0*H // flux density in Wb/m^2
+flux = B*A // flux in Wb
+
+// display the result
+disp("Example 2.6 solution");
+printf(" \n Magnetic field intensity \n H= %.0f At/m \n", H);
+printf(" \n Flux density \n B= %.2e Wb/m^2 \n", B);
+printf(" \n Flux \n flux= %.1e Wb \n", flux);