I have obtained the following form as a part of a computation:
k (Quantity[0, "Kilohertz"]) + Quantity[1/500, "Kilohertz"]
This is typeset as
Here, k is an atom (representing an integer in my computation). Obviously I would like this to simplify to Quantity[2, "Hertz"], but I cannot figure out how to cause the term with k to vanish. Neither FullSimplify nor UnitSimplify have any effect here:
My best guess is that Mathematica doesn't want to assume things about k, but given that the magnitude of the unit is 0, it should still simplify away.
How can I simplify this as I would expect?



Simplify[....,Assumptions->Element[k,Reals]]– george2079 Apr 05 '16 at 02:45Assumptions-- the form is untouched. – thirtythreeforty Apr 05 '16 at 04:11