1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Truth table to equation question (comp Sci)

  1. Sep 17, 2014 #1
    1. The problem statement, all variables and given/known data

    3. The attempt at a solution

    for part a, i got the solution to be F1 = xy'+x'y= x⊕y (XOR) , F2 = x .y (AND)

    for part b i don't understand how i would derive an equal equation that uses only NAND which is (xy') and inverter which is x'
  2. jcsd
  3. Sep 17, 2014 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    You can start by implememting xy' and x'y with AND gates and their sum with an OR gate. So you have two ANDS feeding an OR. Now on each line connecting an AND with the OR, put two bubbles, one on the AND output and the other on the OR input. The two bubbles are cancelling inverters, but they make the ANDS into NANDS and you have an OR gate with inverted inputs. What does DeMorgan's law tell you that makes?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted