Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Can some clarify I did this logical expressoin correctly? descrete math

  1. Sep 7, 2006 #1
    Hello everyone.

    THe directions say:
    You recall that the fastest mammal on earth is either a jaguar or a cheetah. to find a web page to tell you which one is the fastest, write a logical expression containing "jaguar" and "cheetah," and either "speed" or "fastest" but not "car," or "automobile" or "auto"

    I wrote the following:

    "Jaguar" AND "cheeta" AND (speed or fastest) AND NOT (car OR automobile OR auto)

    The book had a simliar problem that stated:
    Write a logical expression to find web pages containing the folowing:
    "United States Presidents" and either "14th" or "fourteenth" but not "amendment".

    The answer was:
    "United States President" AND (14th OR fourteeth) AND NOT amendment

  2. jcsd
  3. Sep 7, 2006 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Looks right to me.

    - Warren
  4. Sep 7, 2006 #3
    thanks :biggrin:
  5. Sep 7, 2006 #4


    User Avatar
    Science Advisor

    It's right, but one thing worth mentioning--you don't have to use quotes around a single word like "Jaguar." Quotes are only necessary to lump several words together. Also, typo on cheetah.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook