Explain the two different ways to calculate impulse.