summaryrefslogtreecommitdiff
path: root/608/CH8/EX8.02
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH8/EX8.02
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 '608/CH8/EX8.02')
-rwxr-xr-x608/CH8/EX8.02/8_02.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/608/CH8/EX8.02/8_02.sce b/608/CH8/EX8.02/8_02.sce
new file mode 100755
index 000000000..5bfaee267
--- /dev/null
+++ b/608/CH8/EX8.02/8_02.sce
@@ -0,0 +1,16 @@
+//Problem 8.02: A conductor carries a current of 20 A and is at rightangles to a magnetic field having a flux density of 0.9 T. If the length of the conductor in the field is 30 cm, calculate the force acting on the conductor. Determine also the value of the force if the conductor is inclined at an angle of 30° to the direction of the field.
+
+//initializing the variables:
+B = 0.9; // in tesla
+I = 20; // in Amperes
+l = 0.30; // in m
+alpha = 30; // in degree
+u0 = 4*%pi*1E-7;
+
+//calculation:
+F1 = B*I*l
+F2 = B*I*l*sin(alpha*%pi/180)
+
+printf("\n\nResult\n\n")
+printf("\n (a)Force when the conductor is at right angles to the field = %.1f N",F1)
+printf("\n (b)Force when the conductor is at 30° angle to the field = %.1f N",F2) \ No newline at end of file