Calculate integrals of uncommon form