Pentane or heptane are non-polar molecules so both of the , dispersion or london force exists as intermolecular force exists among molecules of pentane or heptane . So these bonds needs to be broken and dispersion interaction takes place between molecules of pentane and heptane. Dispersion interaction of AB type is stronger than AA or BB type.