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

  • Thread starter Thread starter mr_coffee
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around constructing logical expressions in the context of discrete mathematics, specifically for searching web pages based on given criteria involving animals and their speed.

Discussion Character

  • Exploratory, Conceptual clarification

Approaches and Questions Raised

  • The original poster attempts to create a logical expression based on specific keywords and conditions provided in the assignment. Some participants affirm the correctness of the expression, while others point out minor details regarding the use of quotes and a typographical error.

Discussion Status

The discussion includes affirmations of the original poster's expression and suggestions for improvement. There is a focus on clarifying the use of quotes in logical expressions, indicating a productive exchange of ideas.

Contextual Notes

Participants are discussing the requirements of the assignment, including the specific keywords and the conditions under which they should be included or excluded in the logical expression.

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
Looks right to me.

- Warren
 
thanks :biggrin:
 
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.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K