Mathematica 9 is now available

 Documentation /  Mathematica /  Eingebaute Funktionen /  Numerische Berechnung /  Zahlendarstellung /

MantissaExponentIntegerPart

Rationalize

FilledSmallSquare Rationalize[x] nimmt Real-Zahlen in x, die dicht bei rationalen Zahlen liegen, und konvertiert sie in exakte Rational-Zahlen.

FilledSmallSquare Rationalize[x, dx] führt die Konvertierung aus, wenn der gemachte Fehler kleiner als dx ist.

FilledSmallSquare Beispiel: Rationalize[3.78]LongRightArrow.

FilledSmallSquare Rationalize[x, dx] ergibt die rationale Zahl mit dem kleinsten Nenner, der in dx von x liegt.

FilledSmallSquare Rationalize[N[Pi]]LongRightArrow liefert keine rationale Zahl, da es keine gibt, die ausreichend nahe bei N[Pi] ist.

FilledSmallSquare Eine rationale Zahl wird dann als ausreichend nahe an einem reellen betrachtet, wenn ist, wobei als gewählt wird.

FilledSmallSquare Rationalize[x, 0] konvertiert jegliches x in rationale Form.

FilledSmallSquare Siehe Das Mathematica Buch: 3.1.3.

FilledSmallSquare Siehe auch: Chop, Round, ContinuedFraction, LatticeReduce.

FilledSmallSquare Verwandtes Paket: NumberTheory`Rationalize`. )

MantissaExponentIntegerPart



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.