Programming Challenge 10


Description

Implement algorithms to approximate the value of pi using Monte Carlo sampling. Make two versions, a typical version that is sequential (no threads or tasks) and a parallel version (task-based). The tasked-based version will take an additional input of the number of asynchronous tasks to create (beyond the single parameter of the number of samples). Finally, implement an experimental framework that analyzes sample sizes of powers of two from 28, 29, ...to..., 224. Compare your sequential performance to the asynchronous performance with the number of tasks that are powers of two from 20, 21, ...to..., 27. Reflect on the data for the lessons learned.

Details


General Instructions, Turning in assignments, and Grading

General Instructions

Turn in Instructions

Each assignment will be turned in through GitHub classroom. Please find the link to create a repository at the top of this page, or through this link. Assignments are due BEFORE, let me repeat, before class starts. This does not mean five minutes after class starts.

Points