summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.14/Ex9_14.sce
blob: 61f64ad0cae964811ac7950d8130f9d8c310dde7 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
V=600                            //V
d=3*10**-3                                    //m
v=2*10**6                                   //m/s

//Calculation
B=V/(d*v)

//Result
printf("\n Magnitude of magnetic field is %0.3f  T", B)