Integrate with variable bounds and ln