Difference between revisions of "Numerator Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|function}}
 
{{command|function}}
 
;Numerator[ <Function> ]
 
;Numerator[ <Function> ]
 
:Returns the numerator of the function.
 
:Returns the numerator of the function.
{{Example|1=<code>Numerator[(3x² + 1) / (2x - 1)]</code> gives you ''f(x) = 3x² + 1''.}}
+
{{example|1=<div><code><nowiki>Numerator[(3x² + 1) / (2x - 1)]</nowiki></code> yields ''f(x) = 3x² + 1''.</div>}}
 
 
 
==CAS Syntax==
 
==CAS Syntax==
 
The following syntax works only in [[CAS View]].
 
The following syntax works only in [[CAS View]].
 
;Numerator[ <Expression> ]
 
;Numerator[ <Expression> ]
 
:Returns the numerator of a rational number or expression.
 
:Returns the numerator of a rational number or expression.
: {{Example|1= <code>Numerator[2/3+1/15]</code> gives you ''11''.}}
+
:{{example|1=<div><code><nowiki>Numerator[2/3 + 1/15]</nowiki></code> yields ''11''.</div>}}
 +
{{note|1=<div>See also [[Denominator Command]].</div>}}

Revision as of 14:19, 22 August 2011



Numerator[ <Function> ]
Returns the numerator of the function.
Example:
Numerator[(3x² + 1) / (2x - 1)] yields f(x) = 3x² + 1.

CAS Syntax

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] yields 11.
Note:
© 2024 International GeoGebra Institute