This book started life as a short treatise on the development and application of mathematical algorithms, using the Ruby programming language for demonstration purposes. However, it soon became clear that there are a number of interesting algorithms hidden in the electronic devices that are becoming commonplace. What started with mortgages, greatest common divisors, internal rate of return algorithms, the Kelly (betting) Criterion, and the traveling...