Constructing circuit from Boolean expression

  • Context: Undergrad 
  • Thread starter Thread starter Jim01
  • Start date Start date
  • Tags Tags
    Circuit Expression
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 4K views
Jim01
Messages
36
Reaction score
0
I must construct a circuit from the following Boolean expression:

P v (~P ^ ~Q)

From my understanding I am supposed to go from right to left, working on the outermost part of the expression to the innermost part. I read this as saying even though the outermost part of the expression is on the right, that is where I begin. Is this correct? I come up with one OR gate, one AND gate and two NOT gates. Here is what I came up with:


P goes into a NOT and comes out ~P. ~P goes into AND and comes out ~P ^ Q.
P goes into OR and comes out P v (~P ^ ~Q)

Q goes into NOT and comes out ~Q. ~Q goes into AND and comes out ~P ^ Q.

~P ^ Q goes into OR and comes out P v (~P ^ ~Q)

Am I on the right track?
 
Physics news on Phys.org
phinds said:
I've never heard of a system where you do not evaluate inside of parentheses first

Well that's definitely always been the case in the past but I quoted from the book verbatim. "Go from the right side of the diagram to the left, working from the outermost part of the expression to the innermost part."

The example used was (~P ^ Q) v ~Q

In the above case they began with the v first.
 
I just noticed this disclaimer: "This forum is not for homework or any textbook-style questions." I did not see this before. I will post my question in the appropriate section. Please pardon my mistake.