Just press the flag.
It uses the Gregory-Lebniz series to calculate pi. Thanks to https://www.wikihow.com/Calculate-Pi for teaching me how to do it.