summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.31/Ex9_31.sce
blob: 45b47b7f4b0acc4dc956d53bd07bcfb9fc8cfcd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//Given
n=125
I=20*10**-3                       //A
B=0.5                             //T
A=400*10**-6                       //m**2
K=40*10**-6

//Calculation
T=n*I*B*A
a=T/K

//Result
printf("\n (i) Torque exerted is %0.3f  *10**-4 Nm", T*10**4)
printf("\n (ii) Angular deflection of the coil is %0.3f  degree", a)