Question: Let e1 and e2 be logical expressions. DeMorgans laws for logical expressions state that NOT(e1 AND e2) implies that (NOT e1) OR (NOT e2) and

Let e1 and e2 be logical expressions. DeMorgan’s laws for logical expressions state that

NOT(e1 AND e2) implies that (NOT e1) OR (NOT e2)

and

NOT(e1 OR e2) implies that (NOT e1) AND (NOT e2)

Use these laws to nd an equivalent expression for each of the following expressions and use MATLAB to verify the equivalence.

a. ~((x < 10) & (x >= 6))

b. ~((x == 2) | (x > 5))

Step by Step Solution

3.32 Rating (173 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Applying DeMorgans law to x 10 x 6 we get x 10 x 6 x 10 x 6 Expanding the negations we get x 10 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction Mechanical Engineering Questions!