Cost-effective electric car purchase