Derek Klinge wrote:
Also, it seems to me if the goal is to use the smallest value of n to get a particular level of accuracy, changing your guess of N by doubling seems to have a high chance of overshoot.
If you want to find the exact n required, once you overshoot you could use a binary search to narrow it down. -- Greg -- https://mail.python.org/mailman/listinfo/python-list