summaryrefslogtreecommitdiff
path: root/3769/CH8/EX8.22/Ex8_22.sce
blob: 42715aeb7794f5789e29b80ed403d23b048962dd (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
n=5*850/1.23
I=5.57                    //A

//calculation
u=4*%pi*10**-7
B=u*n*I

//Result
printf("\n Magnitude of magnetic field is %0.1f  *10**-3 T",B*10**3)