Prime Counting Function Model Documents
This material has 2 associated documents. Select a document title to view a document's information.
The Prime Counting Function model uses the trial division algorithm to compute the number of primes less than or equal to the number n. Although the trial division algorithm is inefficient, we use it to perform a lengthy calculation while a standard EJS simulation thread accumulates and plots data from the parallel computation. Users can vary the number of independent threads and observe the computational time.
Published October 11, 2013
This file has previous versions.
Source Code Documents
The source code zip archive contains an XML representation of the Prime Counting Function Model. Unzip this archive in your Ejs workspace to compile and run this model using Ejs.
Last Modified October 11, 2013