summaryrefslogtreecommitdiff
path: root/608/CH8/EX8.07/8_07.sce
blob: 8e97411f50368e513fa002ef17e36c9a21df32ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Problem 8.07: An electron in a television tube has a charge of 1.6 ð 1019 coulombs and travels at 3 ð 107 m/s perpendicular to a field of flux density 18.5 μT. Determine the force exerted on the electron in the field.

//initializing the variables:
Q = 1.6E-19; // in Coulomb
v = 3E7; // in m/s
B = 18.5E-6; // in Tesla
u0 = 4*%pi*1E-7;

//calculation:
F = Q*v*B

printf("\n\nResult\n\n")
printf("\n Force exerted on the electron in the field. = %.2E N",F)