a.if(x>=1900)
express the first conditional expression as propositional expression
Depict the proposition expression as a digital logic circuit.
b.if(month>=1 && month<=12)
express the first conditional expression as propositional expression
Depict the proposition expression as a digital logic circuit.
ANSWER:
a. if(x>=1900)
Solution: let x<1900 condition denoted as q. So, its complementary x>=1900 is (Not q).
=> Propositional expression: ¬q
TRUTH TABLE
q | OUTPUT (¬q) |
0 | 1 |
1 | 0 |
Circuit Diagram
a. if(month>=1 && month<=12)
Solution: let month>=1 condition denoted as p.
let month<=12 condition denoted as q
then,.
=> Propositional expression:
TRUTH TABLE
p | q | OUTPUT |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
Circuit Diagram
Get Answers For Free
Most questions answered within 1 hours.