December 2014
Intermediate to advanced
372 pages
11h 5m
English
Chapter 2. Calculating cumulative binomial distributions
Listing 1. Three approaches to calculating the n factorial
Listing 2. First attempt at coding the cumulative binomial distribution
Listing 4. Unit tests for larger inputs, from Wolfram|Alpha
Listing 5. Expressing big integers as strings
Listing 6. Version of the Fact function that returns a big integer
Listing 7. Version of the Binomial function that supports the BigInteger type
Listing 8. Calculating factorials using logarithms
Listing 10. Test cases for some larger inputs
Listing 11. Literal implementation of the Excel pseudocode
Read now
Unlock full access