Converting English to Boolean Algebra

Click For Summary

Discussion Overview

The discussion revolves around converting a verbal description of an irrigation system's operation into Boolean algebra. Participants explore how to accurately represent the conditions under which the sprinkler's water valve should open, considering factors like whether the system is enabled, if it is raining, and if freezing temperatures are detected.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant states the conditions for the irrigation system as S (system enabled), R' (not raining), and F' (not freezing), proposing the equation F=S+R'F'.
  • Another participant questions the meaning of V and N, emphasizing that all three conditions must be true.
  • A different participant reformulates the conditions into Z = AB' + C', defining the operations of multiplication and addition in Boolean terms.
  • There is a query about whether "nor" implies addition in the equation, leading to a proposed equation Z=A(B'+C').
  • One participant expresses uncertainty about the meaning of "+" in the context of the equation, suggesting it should represent "and" rather than "or".
  • Another participant clarifies that "neither raining nor freezing" translates to (not raining) AND (not freezing), which can be expressed using DeMorgan's law.
  • There is acknowledgment of the use of DeMorgan's law in the discussion, with a participant expressing gratitude for the clarification.

Areas of Agreement / Disagreement

Participants exhibit uncertainty regarding the correct interpretation of the Boolean expressions and the operations involved. Multiple competing views exist on how to formulate the equations accurately, and the discussion remains unresolved.

Contextual Notes

Participants have not reached a consensus on the correct Boolean representation, and there are varying interpretations of the terms and operations involved.

Nyasha
Messages
127
Reaction score
0

Homework Statement



An irrigation system should open sprinkler's water valve when if the system is enabled and neither raining nor freezing temperatures are detected.

Homework Equations



[tex]S\rightarrow[/tex] system enabled

[tex]R'\rightarrow[/tex] not raining

[tex]F'\rightarrow[/tex] freezing temperatures not detected

The Attempt at a Solution



F=S+R'F'

F=S+(RF)'

Guys l do not know if my Boolean equation is correct.
 
Last edited:
Physics news on Phys.org
What are V and N?

Note there are 3 conditions (S, R', and F'), all of which must be true.
 
Redbelly98 said:
What are V and N?

Note there are 3 conditions (S, R', and F'), all of which must be true.


It was actually supposed to be :


F=S+R'F'

F=S+(RF)'


So is this the correct equation ?
 
An irrigation system should open sprinkler's water valve = Z
when if
the system is enabled = A
and
neither raining = B'
nor freezing temperatures are detected. (same as or not freeze...) = C'
Z = AB' + C'
as defined above the and is multiplication, the or is addition
if it says not, neither or something like that its the compliment
 
LeeroyJenkins said:
An irrigation system should open sprinkler's water valve = Z
when if
the system is enabled = A
and
neither raining = B'
nor freezing temperatures are detected. (same as or not freeze...) = C'
Z = AB' + C'
as defined above the and is multiplication, the or is addition
if it says not, neither or something like that its the compliment

So does "nor" mean that l should add the addition operation ? Would this be correct:

Z=A(B'+C') ?
 
Last edited:
Nyasha said:
So does "nor" mean that l should add the addition operation ? Would this be correct:

Z=A(B'+C') ?

I'm not sure if "+" means "and" or "or", so I'll just say it should be all and's, and no or's, in the statement.

I.e., there are 3 conditions A, B' and C', all of which must be true: A and B' and C'.
 
Redbelly98 said:
I'm not sure if "+" means "and" or "or", so I'll just say it should be all and's, and no or's, in the statement.

I.e., there are 3 conditions A, B' and C', all of which must be true: A and B' and C'.



Isn't the sprinkler's water valve supposed to open when system enabled and not raining or when the system is enabled and not freezing temperatures ?

F=A(B'+C')

F=AB'+AC'

"+" means or

"*" means and

' means NOT
 
"neither raining nor freezing" means:
(Not raining) AND (Not freezing)​
which is equivalent to
Not (raining or freezing)​
 
Redbelly98 said:
"neither raining nor freezing" means:
(Not raining) AND (Not freezing)​
which is equivalent to
Not (raining or freezing)​


I know understand. You used Demorgan's law


B'C'=(B+C)'


Thanks very much for the help
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
16K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
21K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 102 ·
4
Replies
102
Views
11K
  • · Replies 13 ·
Replies
13
Views
7K
  • · Replies 2 ·
Replies
2
Views
620