Write the formal expression for the following logical conditions on a variable x in a computer program. Note, exercise 2 and 4 are 1 and 3 negated with De Morgan's law 1. 0
I just want the expression not the computer program this is discrete structures class
![Write the formal expression for the following logical conditions on a variable x in a computer program.
Note, exercise 2 and 4 are 1 and 3 negated with De Morgan's law
1. 0<x<100
2. Not 1, using De Morgan's law
3. x not divisible by 2 and x not 0
4. Not 3, using De Morgan's law](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdaad9e7e-1f14-44d5-98ac-51623b651f9b%2Ffcab6b26-492b-42b6-b89c-29e7a8f85dac%2Fuc414fc_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Introduction:
De Morgan's laws are a pair of rules that relate logical operators AND and OR to their negations NOT. The two laws are as follows:
-
The negation of a conjunction (AND) is the disjunction (OR) of the negations: ¬(P ∧ Q) ≡ ¬P ∨ ¬Q This law states that the negation of a statement that asserts that two things are true at the same time is equivalent to the statement that at least one of the two things is not true.
-
The negation of a disjunction (OR) is the conjunction (AND) of the negations: ¬(P ∨ Q) ≡ ¬P ∧ ¬Q This law states that the negation of a statement that asserts that at least one of two things is true is equivalent to the statement that neither of the two things is true.
In words, De Morgan's laws can be stated as "the negation of a conjunction is the disjunction of the negations" and "the negation of a disjunction is the conjunction of the negations." These laws are basic to many areas of mathematics and logic, and they are frequently used in the simplification of logical expressions.
Trending now
This is a popular solution!
Step by step
Solved in 5 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
![Mathematics For Machine Technology](https://www.bartleby.com/isbn_cover_images/9781337798310/9781337798310_smallCoverImage.jpg)
![Basic Technical Mathematics](https://www.bartleby.com/isbn_cover_images/9780134437705/9780134437705_smallCoverImage.gif)
![Topology](https://www.bartleby.com/isbn_cover_images/9780134689517/9780134689517_smallCoverImage.gif)