summaryrefslogtreecommitdiff
path: root/165/CH2/EX2.1.b/ex2_1_b.sce
blob: ae5cb4246f3b24dba221cc3b1eb53ac3b5d76139 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 2.1(b)
clc;
N=100;            //No of turns of wire of the coil
W=20*10^-3;       //Width of the coil
D=30*10^-3;       //Depth of the ciol
B=0.1;            //Flux density in the gap
Tau=30*10^-6;     //Deflecting Torque
A=W*D;            //Effective coil area
I=Tau/(B*A*N);      //Current through the moving coil
printf('\nCurrent through the moving coil = %.2f mA\n',I*1000)