Extra Credit #1

This is a competition to see who can write the fastest algorithm to find the first 10,000 prime numbers. All functioning submissions will recieve 1 point extra credit added to the homework score. The winner will receive 3 points extra credit.

Rules: No high-level matlab function can be used except for the 'round' function. This means no 'factor', 'mod', 'isprime', etc.

Submission must be a script named LastName_EC1.m and any other required function or class definitions named LastName_EC1_XX.m. Your script file must output the result in a 10000x1 array and then report the time required to run the algorithm. Time taken to display the output does not need to be accounted for in the timing.

Submit your files through the learn system.