blob: 37d7839bd4aedcc533780053f30afb931c843f8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Torque on the coil at a current of 1mA
clc;
clear;
N=60;
B=50*(10^-3);
I=1*(10^-3);
l=3*(10^-2);
// w= 2*r; w is the width
w=2*(10^-2);
Td=N*B*I*l*w;
printf('The torque on the coil carrying 1mA = %g micro Nm \n',Td*(10^6))
|