Inverse force problems for the wave equation