HOMEWORK - Due to December 13, 2010

  1. Computation of PI number. This example (http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code15.c code15.c) evaluates $\pi$ by numerically evaluating the integral

    \begin{displaymath}
\int_0^1\frac{1}{1+x^2}dx=\frac{\pi}{4}
\end{displaymath}

  2. Finding prime numbers. Write a complete program that finds the prime numbers up to 10000.

Cem Ozdogan 2010-11-22