![]() |
| Home | People | Curriculum | Projects | Resources | Media |
| High Performance Scientific Computing | cs392 |
| Lab 1 | Fall 2007 |
In this lab you are to design and implement a program to generate a set of random dart throws at a virtual dartboard and discover which strategy works better: throwing at the "20" or throwing at the "1" (and thus increasing the chances of hitting either "20" or "18" -- see dartboard graphic).
You will need to make some assumption in this simulation study, just be clear in your comments in the code. We can make some assumptions about the accuracy of the thrower such that higher accuracy translates into less chance of error (and more likley to hit near the intended spot on the dartboard). We can begin with simple assumptions and improve the model parameters and approach as we proceed. The goal is to determine if there exists a threshold in player accuracy/proficiency where one strategy beats the other.
Please proceed in the following sequence:
You will be asked to demonstrate your work for the instructor and answer any questions. You will also draft a preliminary report of your findings that you will complete in Lab 2. You are welcome to collaborate, to do library research, even ask other science/math professors for help (at their convenience).
|
|