Using Integrals to Solve Applied Problems