--- from: http://rosettacode.org/wiki/Roots_of_a_function note: Arithmetic operations