diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1544/CH5/EX5.7 | |
download | Scilab-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.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
|