Difference between revisions of "Denominator Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 9: Line 9:
 
:{{example|1=<div><code><nowiki>Denominator[2 / 3 + 1 / 15]</nowiki></code> yields ''15''.</div>}}
 
:{{example|1=<div><code><nowiki>Denominator[2 / 3 + 1 / 15]</nowiki></code> yields ''15''.</div>}}
 
{{note|1=<div>See also [[Numerator Command]].</div>}}
 
{{note|1=<div>See also [[Numerator 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



Denominator[ <Function> ]
Returns the denominator of a function.
Example:
Denominator[5 / (x^2 + 2)] yields f(x)=(x2 + 2).

CAS Syntax

Denominator[ <Expression> ]
Returns the denominator of a rational number or expression.
Example:
Denominator[2 / 3 + 1 / 15] yields 15.
Note:
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

© 2024 International GeoGebra Institute