Difference between revisions of "Numerator Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{command +{{command|cas=true)) |
|||
Line 5: | Line 5: | ||
{{example|1=<div><code><nowiki>Numerator[(3x² + 1) / (2x - 1)]</nowiki></code> yields ''f(x) = 3x² + 1''.</div>}} | {{example|1=<div><code><nowiki>Numerator[(3x² + 1) / (2x - 1)]</nowiki></code> yields ''f(x) = 3x² + 1''.</div>}} | ||
==CAS Syntax== | ==CAS Syntax== | ||
− | |||
;Numerator[ <Expression> ] | ;Numerator[ <Expression> ] | ||
:Returns the numerator of a rational number or expression. | :Returns the numerator of a rational number or expression. | ||
:{{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>}} |
Revision as of 12:36, 30 November 2012
- 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.