Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: When/why is Denominator[p/q] != q?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46028] Re: When/why is Denominator[p/q] != q?
  • From: "Peltio" <peltio at twilight.zone>
  • Date: Tue, 3 Feb 2004 03:20:59 -0500 (EST)
  • References: <bvla64$83$1@smc.vnet.net>
  • Reply-to: "Peltio" <peltioNOSP at Miname.com.invalid>
  • Sender: owner-wri-mathgroup at wolfram.com

"Relishguy" wrote

Hi,

> {p / q, Denominator[p/q] }
> {p / q, q }

If q has divisors in common with p, p/q can be simplified and
Denominator[p/q] gives the denominator of the simplified fraction.

20/12 = 5/3
q=12, Demoninator[p/q]=3

cheers,
Peltio
--
Invalid address in reply-to. Crafty demunging required to mail me.



  • Prev by Date: RE: import table in mathematica
  • Next by Date: Re: When/why is Denominator[p/q] != q?
  • Previous by thread: Re: When/why is Denominator[p/q] != q?
  • Next by thread: Re: When/why is Denominator[p/q] != q?