Implement algorithms for evaluating factorials and approximating natural logarithms.