summaryrefslogtreecommitdiff
path: root/1544/CH5/EX5.9/Ch05Ex9.sce
blob: 9e0d6073b673124bfc73610fe9536dac39e6bbd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Scilab code Ex5.9: Pg 154 (2008)
clc; clear;
l = 0.015;                                    // Length of coil, m
d = 0.006;                                     // Width of  coil, m
B = 1.2;                                      // Flux density, T
I = 1e-02;                                    // Current, a
r = d/2;                                      // Radius of rotation, m
// Since torque is given by the product of force and distance, therefore, we have
T = 2*B*I*l*r;                               // Torque, Nm
 printf("\nThe torque exerted on the coil = %4.2f micro-Nm", T/1e-06);
 
// Result
// The torque exerted on the coil = 1.08 micro-Nm