summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.6/Ex9_6.sce
blob: c380dc147a36604be00d1fcd5dd8a7deaf0ea1f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//Given
m=1.67*10**-27
v=4*10**5
a=60
q=1.6*10**-19
B=0.3

//Calculation
//
r=(m*v*sin(a*3.14/180.0))/q*B
P=v*cos(a*3.14/180.0)*((2*%pi*m)/(q*B))

//Result
printf("\n (i) Radius of the helical path is %0.1f  cm",r*10**3)
printf("\n (ii) Pitch of helix is %0.2f  cm",P*10**2)