summaryrefslogtreecommitdiff
path: root/1544/CH5/EX5.7/Ch05Ex7.sce
blob: 152488a78e40f9bd6e4d72013940a4258f2521bf (plain)
1
2
3
4
5
6
7
8
9
10
11
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