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

  • Thread starter Thread starter mr_coffee
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 4K views
mr_coffee
Messages
1,613
Reaction score
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

Thanks!
 
Physics news on Phys.org
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.