Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

Re: Problem with Inequalities

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29695] Re: [mg29675] Problem with Inequalities
  • From: BobHanlon at aol.com
  • Date: Wed, 4 Jul 2001 03:08:21 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 2001/7/3 4:52:21 AM, Mail at Axel-Dreher.de writes:

>I'm desperately searching for help on my inequality question.
>How can I check for the truth of inequalities when I use variables
>instaed of numeric values?
>
>For example: a>b;TrueQ[a>b]
>does yield 'false' and for example a=1;b=0.5;TrueQ[a>b] yields 'True'.
>How do I have to tell the programm, that it should use a>b?
>

Use TagSet to set an upvalue for either a or b. For example, 

a /: (a > b) = True;

a > b

True


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Re: a problem with differentiation
  • Next by Date: Mathematica generating gifs for avi problem
  • Previous by thread: Problem with Inequalities
  • Next by thread: Re: Problem with Inequalities