Influence of resistance to motion on moving bodies