I have a maths problem which has been bugging me (mainly as my maths is rusty). When an arbitrary arc passes through a square, what area of the square lies inside the arc? I just asked ChatGPT. Then I asked it to write a Python function to compute it. Wow!