summaryrefslogtreecommitdiff
path: root/1319/CH4/EX4.2/4_2.sce
blob: 57abf1edabf8a2dd3662550624923310d808f2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//To find the deflection produced by 200V

clc;
clear;

R=10*(10^3);
V=200;
B=80*(10^-3);
N=100;
A=9*(10^-4); // The area of the coil is the product of the length and width (l.2r)
I=V/R;

Td=N*B*I*A;

K=30*(10^-7);

theta=Td/K;

printf('The deflection produced by 200V = %g degrees \n',theta)