edited by
645 views

2 Answers

0 votes
0 votes

Logic equivalent to p->q using NOR gate only.

0 votes
0 votes

p$\rightarrow$q

=$\neg$p$\vee$q

=$\neg$($\neg$p$\vee$q) by applying Demorgan's Law,

=($\neg$p$\downarrow$q)

=($\neg$(p$\vee$p)$\downarrow$q) by applying Idempotent Law,

=((p$\downarrow$p)$\downarrow$q) .

edit: as identified by @ankitgupta.1729, this answer is wrong.

So right answer is, 

$p\rightarrow$q

=$\neg$p$\vee$q

=$\neg$($\neg$($\neg$p$\vee$q)) by applying Double negation Law,

=$\neg$($\neg$p$\downarrow$q)

=$\neg$($\neg$(p$\vee$p)$\downarrow$q)) by applying Idempotent Law,

=$\neg$((p$\downarrow$p)$\downarrow$q) 

=$\neg$[$\color{Red}($(p$\downarrow$p)$\downarrow$q$\color{Red})$$\vee$$\color{Red}($(p$\downarrow$p)$\downarrow$q$\color{Red})$] by applying Idempotent law

=$\color{Red}($(p$\downarrow$p)$\downarrow$q$\color{Red})$$\downarrow$$\color{Red}($(p$\downarrow$p)$\downarrow$q$\color{Red})$

edited by

Related questions

1 votes
1 votes
3 answers
3
1 votes
1 votes
2 answers
4