diff options
Diffstat (limited to '2642/CH2/EX2.1')
-rwxr-xr-x | 2642/CH2/EX2.1/Ex2_1.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2642/CH2/EX2.1/Ex2_1.sce b/2642/CH2/EX2.1/Ex2_1.sce new file mode 100755 index 000000000..92c8673af --- /dev/null +++ b/2642/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,25 @@ +// FUNDAMENTALS OF ELECTICAL MACHINES
+// M.A.SALAM
+// NAROSA PUBLISHING HOUSE
+// SECOND EDITION
+
+// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
+// Example : 2.1
+
+clc;clear; // clears the console and command history
+
+// Given data
+l = 4 // lenght in m
+w = 2 // width in m
+B = 0.12 // magnetis flux density in tesla
+
+// caclulations
+A = l*w // area in m^2
+flux = B*A // magnetic flux in Wb
+
+
+// display the result
+disp("Example 2.1 solution");
+printf(" \n Magnetic flux \n flux = %.2f Wb \n", flux);
+
+
|