From http://en.wikipedia.org/wiki/Pi
Most formulae used for calculating the value of π have desirable mathematical properties, but are difficult to understand without a background in trigonometry and calculus. However, some are quite simple, such as this form of the Gregory–Leibniz series:
Enter the number of terms you would like to include in your series