summaryrefslogtreecommitdiff
path: root/2642/CH5/EX5.1
diff options
context:
space:
mode:
Diffstat (limited to '2642/CH5/EX5.1')
-rwxr-xr-x2642/CH5/EX5.1/Ex5_1.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2642/CH5/EX5.1/Ex5_1.sce b/2642/CH5/EX5.1/Ex5_1.sce
new file mode 100755
index 000000000..cf855405b
--- /dev/null
+++ b/2642/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,21 @@
+// FUNDAMENTALS OF ELECTICAL MACHINES
+// M.A.SALAM
+// NAROSA PUBLISHING HOUSE
+// SECOND EDITION
+
+// Chapter 5 : REVIEW OF ELECRTIC CIRCUITS
+// Example : 5.1
+
+clc;clear; // clears the console and command history
+
+// Given data
+l = 10 // conductor length in m
+B = 0.56 // magnetic flux density in T
+I = 2 // current through conductor in A
+
+// caclulations
+F = B*I*l // magnitude of force in N
+
+// display the result
+disp("Example 5.1 solution");
+printf(" \n Magnitude of force \n F = %.1f N ", F);