Enter the number of intervals: pi is approximately 3.1415935795157197