several methods to evaluate pi