This application demonstrates Monte-Carlo Integration of a single-variable function. It presents both a multi-threaded routine (using Maple 13's new Task Programming Model) and a single-threaded routine. The multi-threaded routine takes about 30% less time than the single-threaded version on a dual-core computer. This application was created in Maple 13.02, and uses features that may not be available with earlier versions of Maple.
Maplesoft