MathGroup Archive 1995

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

Search the Archive

Re: Logic Problems

  • Subject: [mg2454] Re: Logic Problems
  • From: bshoels at (Brett Shoelson)
  • Date: Thu, 9 Nov 1995 04:46:09 GMT
  • Approved:
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Tulane University
  • Sender: daemon at ( )

DR JOHN C ERB (TTCJ34A at wrote:
: Can Mathematica be used to solve logic problems?  As a
: simplistic example: Mary is older than Tom; Tom is older
: than Sue; is Mary older than Sue?  I would like to be able
: to do this type of problem without specifying values (i.e., 
: ageMary=35).
: Thank you.
: John C. Erb 

Try this:




{mary, tom, sue}

Of course, this implies some personal bias (namely, "older than" =
"greater than"). Hope this helps.
bshoels at

  • Prev by Date: Turning Off Commutativity
  • Next by Date: Modulus 10 or 11
  • Previous by thread: Logic Problems
  • Next by thread: Logic Problems