diff options
Diffstat (limited to '2642/CH2/EX2.5')
-rwxr-xr-x | 2642/CH2/EX2.5/Ex2_5.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2642/CH2/EX2.5/Ex2_5.sce b/2642/CH2/EX2.5/Ex2_5.sce new file mode 100755 index 000000000..61e100188 --- /dev/null +++ b/2642/CH2/EX2.5/Ex2_5.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.5
+clc;clear; // clears the console and command history
+
+// Given data
+I = 15 // current through conductor in A
+N = 10 // number of turns
+myu_0 = 4*%pi*10^-7 // permiability
+myu_r = 1 // relative permiability of air
+r = 0.015
+
+// caclulations
+B = myu_0*myu_r*N*I/(2*%pi*r) // magnetic flux in T
+
+// display the result
+disp("Example 2.5 solution");
+printf(" \n Magnetic flux \n B= %.0e T \n", B);
+
+
|