A very short and easy non-commercial job: implement a simple one-off Monte Carlo numerical integration program in C++ that computes a numerical approximation of the volume of a smooth 3D area that we will give you.
No sophisicated uniform random number generation is required, simple time-seeded linear congruence factors with pot-shuffling would suffice for example.
The aim of this project is in-house educational, NOT commercial. So the accuracy and efficiency are not as important as usual. Since inexperienced programmers need to able to understand, interpret, and modify the code for other functions, we require VERY detailed commenting throughout, (concerning both the code and the math), in clear English or Greek. You can assume only basic C++ knowledge: functions, class basics, pointers. Please bear in mind the "audience" for this code and provide extra comments if neccessary.
We will provide some example code for the type of random number generator expected. If you have a sophisticated random number generator by all means provide two versions of the solution, but this is NOT essential.
Build in MS Visual C++ 2005 Express is preferred.
Được trao cho:
I have extensive experience of numerical analysis, computational 3D geometry, monte carlo methods and C++ programming. I would be delighted to tackle this project. Eric Graham