summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.10/Ex9_10.sce
blob: e63222c5cea7a242faf798e8925e02d2a0f0f4dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
I=4
u=10**-7
a=0.2                           //m
v=4*10**6
q=1.6*10**-19

//Calculation
B=(u*2*I)/a
F=q*v*B

//Result
printf("\n Force is %0.3f  N", F)