Difference between revisions of "Numerator Command"
From GeoGebra Manual
(added missing description and example) |
(added missing descriptions and examples) |
||
Line 3: | Line 3: | ||
{{command|function}} | {{command|function}} | ||
;Numerator[ <Function> ] | ;Numerator[ <Function> ] | ||
− | : | + | :Returns the numerator of the function. |
− | {{Example|1=<code>Numerator[(3x² + 1) / (2x - 1)]</code> | + | {{Example|1=<code>Numerator[(3x² + 1) / (2x - 1)]</code> gives you ''f(x) = 3x² + 1''.}} |
+ | |||
+ | The following syntax works only in [[CAS View]]. | ||
+ | ;Numerator[ <Expression> ] | ||
+ | :Returns the numerator of a rational number or expression. | ||
+ | : {{Example|1= <code>Numerator[2/3+1/15]</code> gives you ''11''.}} |
Revision as of 11:04, 8 April 2011
- Numerator[ <Function> ]
- Returns the numerator of the function.
Example:
Numerator[(3x² + 1) / (2x - 1)]
gives you f(x) = 3x² + 1.
The following syntax works only in CAS View.
- Numerator[ <Expression> ]
- Returns the numerator of a rational number or expression.
- Example:
Numerator[2/3+1/15]
gives you 11.