summaryrefslogtreecommitdiff
path: root/24/CH29/EX29.7/Example29_7.sce
blob: ce2bfa4812ef75e6889c953dcf753e0626a6aeee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Given that
h = 2.1*10^-2  //in m
w = 1.2*10^-2  //in m
n = 250
B = 0.23  //in T
i = 100*10^-6  //in A
theta = 28  //in degree

//Sample Problem 29-7
printf("**Sample Problem 29-7**\n")
A = h*w
T = B*i*n*A
k = T/theta
printf("The value of constant k is equal to %eN.m/degree", k)