Question: Python Neutron mass--> m_n= 1.67492749804e-27 kg Electron volt--> eV= 1.67492749804e-27 J Neutrons' initial speeds are specified in terms of their kinetic energies in eV, but
Python
Neutron mass--> m_n= 1.67492749804e-27 kg
Electron volt--> eV= 1.67492749804e-27 J
Neutrons' initial speeds are specified in terms of their kinetic energies in eV, but we'll need to know their actual speeds in m/s for the simulation's calculations, so let's write a helper function to encapsulate that conversion.
Complete the function energy_to_speed so that it takes one argument, a kinetic energy in eV, and returns the speed in m/s that a neutron with that kinetic energy would have.
When converting eV to SI units, use the global constants we defined earlier rather than redundantly entering their numerical values in this function. (DRY!)
You may assume the neutron's speed is slow enough to justify nonrelativistic kinematics.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
