Computes approximation within a given error_limit to the values of a root of an arbitrary function f(x) or to the value of inverse function g(y) = x. Uses Newton-Raphson or Secant methods. Requires one (Newton-Raphson) or two (Secant) estimates of the target value. Raises NoConvergenceError when it does not converge within the set error_limit, on set number of iterations.

Required Ruby Version

>= 0

Authors

Luis Bacelar

Versions

  1. 1.2.1
    1. source

      1. 1.2.1 source January 19, 2015 (8.5 KB)
  2. 1.2.0
    1. source

      1. 1.2.0 source January 15, 2015 (8.5 KB)
  3. 1.1.0
    1. source

      1. 1.1.0 source January 14, 2015 (8.5 KB)
  4. 1.0.0
    1. source

      1. 1.0.0 source January 14, 2015 (8 KB)

SHA 256 checksum