in reply to to calculate the value of π

Mmmm pie....
If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)