**Exercise:** Write a program of your own which does some relatively simple mathematical calculation. You should do whatever interests you. The goal here should be to get comfortable with doing mathematics in Java and reading the APIs.

**Some possible ideas:**

- Implement Euclid's algorithm to compute GCD using BigIntegers. You might compare your results to the GCD function built into BigInteger.
- Compute
*π*to many digits using BigDecimals and your favourite formula.

**Sharing your work:** If you are happy with what you have produced, please send it to me so I can share it with others. (A great way to learn Java is by reading source code.)

**Work of others learning Java:** To appear...

HOOPER >>>>> JAVA TUTORIAL