Math Discrete
Boolean If-Then
| Finish filling in this table using the recursive "If…Then…" method demonstrated in PA1.3 | |||||||
| p | q | - p | - q | p - q | p q | p XOR q | |
| 1 | 1 | 0 | 0 | ||||
| 1 | 0 | 0 | 1 | ||||
| 0 | 1 | 1 | 0 | ||||
| 0 | 0 | 1 | 1 | ||||
| This is the only worksheet on which you will be using the "If…Then…" method; use the quicker method discussed in the PA for the remaining worksheets | |||||||
(c)2018 Second Wind Productions, LLC
(c)2018 Second Wind Productions, LLC
2 Boolean Identities
| This worksheet deals with the two de Morgan's Laws; solve for each as instructed ¯ | |||||||||||||
| x | y | xy | x + y | ||||||||||
| START HERE | THEN FINISH HERE |
(c)2018 Second Wind Productions, LLC
(c)2018 Second Wind Productions, LLC
Distributive Laws
| This worksheet deals with the two Distributive Laws; solve for each as instructed ¯ | |||||||||||||||
| Type in values below ¯¯¯ | |||||||||||||||
| x | y | z | yz | x + yz | x + y | x + z | (x + y)(x + z) | y + z | x(y + z) | xy | xz | xy + xz | |||
| Calculate these in Excel |
Boolean Table
| Remember this function from HW1.3? | ||||||||||||
| Let's do it again, retooled for Boolean space . . . | ||||||||||||
| You may type in the appropriate 1, 0 values as needed ¯¯ | ||||||||||||
| w | x | y | z | - x | - y | f = - x XOR - y | g = w - x | h = w z | j = g h | k = f j | ||
(c)2018 Second Wind Productions, LLC
(c)2018 Second Wind Productions, LLC
B5 Space
| How about we try a 5-variable problem? | START HERE ®b | MUST BE CALCULATED IN EXCEL | ||||||||||
| ¯ ¯ ¯ | ||||||||||||
| Calculate in Excel how many binary sequences we will be starting with®i | ¬ Use Excel is calculate this value; you are permitted to type in the appropriate values to do so | |||||||||||
| You may type in the appropriate values as needed ¯¯ | CAREFUL!! | |||||||||||
| ¯ ¯ ¯ | ||||||||||||
| v | w | x | y | z | p = vwxyz | q = v + w + x + y + z | p - q | y3 | -x | y3 - x | w(p - q)(y3 - x) | |
(c)2018 Second Wind Productions, LLC
(c)2018 Second Wind Productions, LLC