integral of (dy/dx)*dx