Constructing circuit from Boolean expression

  • Context: Undergrad 
  • Thread starter Thread starter Jim01
  • Start date Start date
  • Tags Tags
    Circuit Expression
Click For Summary

Discussion Overview

The discussion centers around the construction of a circuit based on a given Boolean expression, specifically P v (~P ^ ~Q). Participants explore the order of operations in evaluating the expression and the implications for circuit design.

Discussion Character

  • Homework-related, Technical explanation, Debate/contested

Main Points Raised

  • One participant proposes a method of constructing the circuit by starting from the outermost part of the expression, suggesting the use of one OR gate, one AND gate, and two NOT gates.
  • Another participant challenges this approach by stating that they have never encountered a system where evaluation does not begin with parentheses, indicating a potential misunderstanding of the order of operations.
  • A later reply reiterates the importance of evaluating inside parentheses first, referencing a book that suggests a different interpretation of the order of operations.
  • One participant acknowledges a forum guideline regarding homework questions and expresses intent to move the discussion to a more appropriate section.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct order of operations for evaluating the Boolean expression, leading to differing interpretations of how to construct the circuit.

Contextual Notes

There is a mention of a disclaimer regarding the appropriateness of homework questions in the forum, which may affect the nature of the discussion.

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
I've never heard of a system where you do not evaluate inside of parentheses first
 
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.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 45 ·
2
Replies
45
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 20 ·
Replies
20
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K