Determination of the excitation function for the 10B(p,n)10C reaction with implications for the production of [10C]carbon dioxide for use as a PET tracer.