Difference between revisions of "Rationalize Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} | <noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} | ||
− | + | ||
+ | ==CAS Syntax== | ||
;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>.}} | :{{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]].}} | :{{Note|1=<br>See also [[MixedNumber Command]].}} |
Revision as of 10:19, 23 November 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
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.