Difference between revisions of "Numerator Command"
From GeoGebra Manual
({{note|1=<div> For a fast numerical method (so long as the numbers aren't too big) you can use these in the Input Bar: <code>CommonDenominator[a,a]</code> for denominator and <code>round(a*CommonDenominator[a,a])</code> for Numerator </div>}}) |
|||
Line 9: | Line 9: | ||
:{{example|1=<div><code><nowiki>Numerator[2/3 + 1/15]</nowiki></code> yields ''11''.</div>}} | :{{example|1=<div><code><nowiki>Numerator[2/3 + 1/15]</nowiki></code> yields ''11''.</div>}} | ||
{{note|1=<div>See also [[Denominator Command]].</div>}} | {{note|1=<div>See also [[Denominator Command]].</div>}} | ||
+ | {{note|1=<div> | ||
+ | For a fast numerical method (so long as the numbers aren't too big) you can use these in the Input Bar: <code>CommonDenominator[a,a]</code> for denominator and <code>round(a*CommonDenominator[a,a])</code> for Numerator | ||
+ | </div>}} |
Revision as of 10:15, 28 November 2014
- Numerator[ <Function> ]
- Returns the numerator of the function.
- Example:
Numerator[(3x² + 1) / (2x - 1)]
yields f(x) = 3x² + 1.
CAS Syntax
- Numerator[ <Expression> ]
- Returns the numerator of a rational number or expression.
- Example:
Numerator[2/3 + 1/15]
yields 11.
Note:
See also Denominator Command.
Note:
For a fast numerical method (so long as the numbers aren't too big) you can use these in the Input Bar: CommonDenominator[a,a]
for denominator and round(a*CommonDenominator[a,a])
for Numerator