modified doit_analyse: now containing effective range calculation