This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

RootApproximant

RootApproximant[x]
converts the number x to one of the "simplest" algebraic numbers that approximates it well.
RootApproximant[x, n]
finds an algebraic number of degree at most n that approximates x.
  • RootApproximant[x] effectively tests the total number of bits in the description of x by successively higher-degree algebraic numbers, and returns the first case for which the number of bits is small.
New in 6