Difference between revisions of "Rationalize Command"
From GeoGebra Manual
Line 3: | Line 3: | ||
;Rationalize[ <Number> ] | ;Rationalize[ <Number> ] | ||
:Creates the fraction of the given ''Number'', and rationalizes the denominator if appropriate. | :Creates the fraction of the given ''Number'', and rationalizes the denominator if appropriate. | ||
− | :{{ | + | :{{Examples|1=<br><code><nowiki>Rationalize[3.5]</nowiki></code> yields <math>\frac{7}{2}</math>.<br><code><nowiki>Rationalize[1/sqrt(2)]</nowiki></code> yields <math>\frac{\sqrt{2} }{2}</math>.}} |
− | + | :{{Note|1=<br>See also [[MixedNumber Command]].}} | |
− | {{ |
Revision as of 03:08, 6 October 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
This command works in CAS View only.
- Rationalize[ <Number> ]
- Creates the fraction of the given Number, and rationalizes the denominator if appropriate.
- Examples:
Rationalize[3.5]
yields \frac{7}{2}.Rationalize[1/sqrt(2)]
yields \frac{\sqrt{2} }{2}.
- Note:
See also MixedNumber Command.