shows calculated value of pi in the middle