summaryrefslogtreecommitdiff
path: root/2642/CH2/EX2.12
diff options
context:
space:
mode:
Diffstat (limited to '2642/CH2/EX2.12')
-rwxr-xr-x2642/CH2/EX2.12/Ex2_12.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2642/CH2/EX2.12/Ex2_12.sce b/2642/CH2/EX2.12/Ex2_12.sce
new file mode 100755
index 000000000..c7e19a120
--- /dev/null
+++ b/2642/CH2/EX2.12/Ex2_12.sce
@@ -0,0 +1,24 @@
+// FUNDAMENTALS OF ELECTICAL MACHINES
+// M.A.SALAM
+// NAROSA PUBLISHING HOUSE
+// SECOND EDITION
+
+// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
+// Example : 2.12
+clc;clear; // clears the console and command history
+
+// Given data
+l = 25*10^-2 // length of air-core coil in m
+A = 4*10^-4 // cross sectional area in m^2
+N = 65 // number of turns
+myu_0 = 4*%pi*10^-7
+myu_r = 1
+
+// caclulations
+myu = myu_0*myu_r
+L = N^2*myu*A/l // inductance in H
+
+// display the result
+disp("Example 2.12 solution");
+printf(" \n Inductance of the coil \n L = %.1e H \n", L);
+