Expansion Of A algebric term

48 Views Asked by At

While doing a coding for software I fell upon in the need to expand the following expression

$(A \land B) \land (C \land (D \lor (E \land f)) \land (g \lor h \lor i))$

I tried it and result I got is following

$$((A \land B \land C \land D )\lor( A \land B \land c \land (e \land f)) ) \land (g ) \lor ((A \land B \land C \land D )\lor( A \land B \land c \land e \land f) ) \land (h) \lor ((A \land B \land C \land D )\lor( A \land B \land c \land e \land f) ) \land (i)$$

Please veify if my answer is correct or help me to find the correct answer

Update: I went through the expression again and i found the earlier expansion was incorrect and below given should be correct please verify

((A and B and C and D )and (g) or ((A and B and C and D )and (h) or ((A and B and C and D )and (i) or ( A and B and c and (e and f)) )and (g) or ( A and B and c and (e and f)) )and (h) or ( A and B and c and (e and f)) )and (i)

I am sorry I cound not format the question correctly I am new to the website