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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started