October 2019
Beginner to intermediate
498 pages
14h 13m
English
The pi approximation techniques that follow will use mathematics based on infinite series and infinite product expansions. The basic idea is that by adding or multiplying an infinite number of arithmetic terms, we can get increasingly closer to the actual value we are trying to compute. Although the mathematics of these approaches is beyond the scope of this text, the patterns provide excellent examples of arithmetic processing.
To use these techniques, we will need to introduce another important problem-solving pattern known as the accumulator pattern. Your ability to recognize this commonly occurring pattern and then implement it will be especially useful as you encounter new ...
Read now
Unlock full access