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: functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45550] Re: functions
  • From: Harold.Noffke at wpafb.af.mil (Harold Noffke)
  • Date: Tue, 13 Jan 2004 04:04:03 -0500 (EST)
  • References: <btps64$bde$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

David:

Re ...

> But
> 
> g[2.0]
> 0.5
> 
> does not treat 2.0 as rational. Maybe you will get a better answer on this
> part.
> 
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/

I think a "better answer" can be had by examining Mathematica 5.0's
ability to remain error free when confronted with cleverly constructed
known irrational expressions, such as the one below, copied from the
Built-In Functions reference for Rationals.

    In[1]:= Element[3^(Sqrt[5]), Rationals]
    Out[1]= False

Regards,
Harold


  • Prev by Date: Symplectic integration and Interpolating function
  • Next by Date: Timing[] returned { Null Second, {}} ?!?
  • Previous by thread: Re: functions
  • Next by thread: Re: functions