equation solving and definite integrals