Simplify each of the following expressions: (a) xy + xyz + yz (b) (xy + z)(x + y)z (c) xy + z + (x + y)z (d) ad(b + c) + ad(b + c) + (b + c)(b + c) (e) wx + xy + yz + wz (f ) ABCD + ABCD + BEF + CDEG + ADEF + ABEF (reduce to a sum of three terms) (g) [(a + d + bc)(b + d + ac)] + bcd + acd (reduce to three terms)

Day 12 A while loop will only execute when the conditions are met Golden rule for while loops: your variable has to change within the loop First line is while(condition); last line is end If you are stuck in a loop, do Ctrl + C Write a code for how long it will take to pay back the loan It will go through first with A=100, then new A will be 50, and m will be 0+1 = 1. Then it will go through with A=50, and then m=1+1=2, and so on until A is right above 15. These are not sum questions so if you are trying to add them all up, you need a new variable Question: