Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Boolean Algebra
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
omni




PostPosted: Sat Feb 05, 2005 12:37 pm   Post subject: Boolean Algebra

I'm having some troubles understanding boolean algebra.
Simplify:

y = ((A*B)*C) + (A*C)
y = ((A*B) + A) * C

is this fully simplified, or is it even right?
Sponsor
Sponsor
Sponsor
sponsor
Andy




PostPosted: Sat Feb 05, 2005 3:56 pm   Post subject: (No subject)

errr no...
y = ((A*B)*C) + (A*C)
well you know * is communitive so you can rewrite it as
y = ((A*C)*B) + (A*C)
then you can factor out an (A*C) leavin u with
y = (A*C)*(B+1)
and since B+1 is always 1, you have
y = (A*C)*1
leaving you with simply
y = A*C
wtd




PostPosted: Wed Feb 09, 2005 3:40 am   Post subject: (No subject)

I must be fuzzy on math after years away from the classroom.

Where do you get that B + 1 is always 1?
Martin




PostPosted: Wed Feb 09, 2005 7:54 am   Post subject: (No subject)

Boolean Algebra.

+ is essentially OR.

Anything or TRUE is always TRUE.
wtd




PostPosted: Wed Feb 09, 2005 3:43 pm   Post subject: (No subject)

Ah yes.
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: