|
SOLUTIONS
|
Mathematica
>
Mathematics and Algorithms
>
Formula Manipulation
>
Algebraic Transformations
>
Algebraic Numbers
>
QuadraticIrrationalQ
BUILT-IN MATHEMATICA SYMBOL
QuadraticIrrationalQ
QuadraticIrrationalQ[x]
gives True if x is a quadratic irrational and False otherwise.
DetailsDetails
- QuadraticIrrationalQ[x] tests whether x can be expressed in the form
, where
,
and
are integers. - Quadratic irrationals have continued fractions that are ultimately periodic.
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
