summaryrefslogtreecommitdiff
path: root/3769/CH10/EX10.7/Ex10_7.sce
blob: 38c5a10ce2b1cf104d0d89f6ca83e53d7807f622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
M=0.40
d=0.5
u=4*%pi*10**-7

//Calculation
Beqa=u*M/(4*%pi*d**3)
Baxial=2*Beqa

//Result
printf("\n Magnitude of axial field is %0.3f  T", Baxial)
printf("\n Magnitude of equatorial field is %0.3f  T",Beqa)