summaryrefslogtreecommitdiff
path: root/3845/CH19/EX19.3/Ex19_3.sce
blob: cf9e5f6c589b8c7fec45d9a83ebe3fa7078143a2 (plain)
1
2
3
4
5
6
7
8
9
//Example 19.3
q=-1.60*10^-19;//Charge of electron (C)
V=-100;//Potential difference (V)
m=9.11*10^-31;//Mass of electron (kg)
v=sqrt(2*q*V/m);//Final speed (m/s)
//Above equation derived from equation of conservation of energy
printf('Final speed of electron = %0.2e m/s',v)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest