WLJS LogoWLJS Notebook

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.

Examples

Find an algebraic approximation:

RootApproximant[1.41421356]

Find a cubic root approximation:

RootApproximant[1.2599210498, 3]

Please visit the official Wolfram Language Reference for more details.

On this page