Difference between revisions of "Rationalize Command"
From GeoGebra Manual
Line 5: | Line 5: | ||
: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>.}} | :{{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 09:43, 10 May 2013
CAS Syntax
- 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.
See also MixedNumber Command.