summaryrefslogtreecommitdiff
path: root/1004/CH3/EX3.4/Ch03Ex4.sci
blob: a8f42fe9bf9e51a02c368774f4a2762a47e990fa (plain)
1
2
3
4
5
6
7
8
// Scilab code: Ex3.4 : Momentum of an electron: Pg: 78 (2008)
m = 9.1e-031;    // Mass of an electron, kg
E = 1.6e-010;    // Kinetic energy of an electron, joule
// Since E = p^2/2*m;    // Kinetic energy of an electron, joule
p = sqrt(2*m*E);    // Momentum of an electron, kg-m/s
printf("\nThe momentum of an electron = %3.1e kg-m/s", p);
// Result
// The momentum of an electron = 1.7e-020 kg-m/s