Difference between revisions of "Numerator Command"

From GeoGebra Manual
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude{{command|cas=true|function}}
{{command|cas=true|function}}
 
 
;Numerator[ <Function> ]
 
;Numerator[ <Function> ]
 
:Returns the numerator of the function.
 
:Returns the numerator of the function.

Revision as of 14:35, 6 August 2015

</noinclude


Numerator[ <Function> ]
Returns the numerator of the function.
Example:
Numerator[(3x² + 1) / (2x - 1)] yields f(x) = 3x² + 1.
Notes:
  • 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
  • See also Denominator Command.

CAS Syntax

Numerator[ <Expression> ]
Returns the numerator of a rational number or expression.
Examples:
  • Numerator[2/3 + 1/15] yields 11.
  • If variables a, b and c haven't been previously defined in GeoGebra, then Numerator[a/b] yields a and Numerator[a + b/c] yields a c + b
© 2024 International GeoGebra Institute