4Warning: If you try to run this example it will take a very long time! Try running it first with the 10 000 000 lowered to 10 000. The point is to have a calculation that takes long enough so that you can watch the progress indicator.

Get Mathematica DeMYSTiFied now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.