diff options
Diffstat (limited to '1544/CH5/EX5.7')
-rwxr-xr-x | 1544/CH5/EX5.7/Ch05Ex7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1544/CH5/EX5.7/Ch05Ex7.sce b/1544/CH5/EX5.7/Ch05Ex7.sce new file mode 100755 index 000000000..152488a78 --- /dev/null +++ b/1544/CH5/EX5.7/Ch05Ex7.sce @@ -0,0 +1,12 @@ +// Scilab code Ex5.7:Pg 152 (2008)
+clc; clear;
+l = 0.22; // Effective length of conductor, m
+B = 0.35; // Flux density, T
+I = 3; // Current, A
+theta = (%pi/2); // Angle, degrees
+// Since the force exerted on the conductor placed in magnetic field is directly proportional to the flux density , the value of current flowing through the conductor, and the length of conductor lying inside the field, therefore
+F = B*I*l*sin(theta); // Force, N
+printf("\nThe force exerted on the conductor = %5.3f N", F);
+
+// Result
+// The force exerted on the conductor = 0.231 N
|