summaryrefslogtreecommitdiff
path: root/1544/CH5/EX5.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1544/CH5/EX5.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1544/CH5/EX5.8')
-rwxr-xr-x1544/CH5/EX5.8/Ch05Ex8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1544/CH5/EX5.8/Ch05Ex8.sce b/1544/CH5/EX5.8/Ch05Ex8.sce
new file mode 100755
index 000000000..874dbda79
--- /dev/null
+++ b/1544/CH5/EX5.8/Ch05Ex8.sce
@@ -0,0 +1,19 @@
+// Scilab code Ex5.8: Current carrying conductor in magnetic field: Pg 153 (2008)
+clc; clear;
+phi = 2.5e-03; // Flux, Wb
+l = 0.05; // Effective length of pole, m
+d = 0.03; // Effective width of pole, m
+F = 1.25; // Force exerted on conductor, N
+A = l*d; // Cross-sectional area of pole face, m^2
+B = phi/A; // Flux density, T
+theta = (%pi/2); // Angle, degrees
+// Since F = B*I*l*sin(theta), solving for I
+I = F/(B*l*sin(theta)); // Current in conductor, A
+theta_2 = (%pi/4); // New angle, degrees
+F_2 = B*I*l*sin(theta_2); // Force exerted on conductor, N
+printf("\nThe value of the current = %2g A", I);
+printf("\nThe force exerted on conductor when placed at 45 degrees to the field = %5.3f newton", F_2);
+
+// Result
+// The value of the current = 14 A
+// The force exerted on conductor when placed at 45 degrees to the field = 0.884 N