6 lines
120 B
Mathematica
6 lines
120 B
Mathematica
|
function J = ev_to_j(electron_volts)
|
||
|
%EV_TO_J Transform electron-volts into Joules
|
||
|
J = electron_volts * 1.602e-19;
|
||
|
end
|
||
|
|