blob: 3e902ea7630d81eb007773dcdae9dcb235ff0ee4 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 19.2
delta_PE=-30;//Energy lost per second (J)
delta_V=12;//Potential difference (V)
q=delta_PE/delta_V;//Charge moved (C)
n_e=q/(-1.60*10^-19);//Number of electrons passing per second
//-1.60*10^-19 C is the charge of an electron
printf('Number of electrons passing per second = %0.2e',n_e)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|