summaryrefslogtreecommitdiff
path: root/3845/CH22/EX22.2/Ex22_2.sce
blob: 7334cbd0705328898010132698469fd869d18ac6 (plain)
1
2
3
4
5
6
7
8
9
//Example 22.2
m=9.11*10^-31;//Mass of electron (kg)
v=6*10^7;//Velocity of electron (m/s)
B=0.5;//Magnetic field strength (T)
q=1.60*10^-19;//Charge of electron (C)
r=m*v/(q*B);//Radius of curvature (m)
printf('Radius of curvature = %0.3f mm',r*1000)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest