Six User RPL programs are provided to calculate Bernoulli numbers in NUM APPROX mode: IBERN uses the built-in IBERNOULLI command, returning approximate results, Bn uses approximation methods for moderate speed and accuracy, BnT uses a table of all the representable Bernoulli numbers for the best speed and accuracy, BnTL and BnTL2 return lists of Bernoulli numbers, using BnT, and RnRAT finds the ratio of two consecutive non-zero Bernoulli numbers with an asymptotic relationship. Three additional programs illustrate the application of the Bernoulli numbers to evaluate a specific definite integral. |