Projects

Projects#

Scattered points in a quarter circle

The project associated with this chapter is estimating the value of the mathematical constant π (pi) using Monte Carlo Simulation, an application of random sampling to estimate a value.

An optional second project builds a codec (functions for encoding and decoding) for compressing a word list using prefix encoding. The primary purpose of this project is to practice good function hygiene. You may also be interested in the introduction to some basic concepts of compression.