Exercise 1.2


simple x y z = x * (y + z)

simple (a - b) a b
=> (a - b) * (a + b)
=> (a * a) + (a * b) - (b * a) - (b * b) {- distributive law -}
=> (a * a) - (b * b)
=> a2 - b2

Leave a Reply

Your email address will not be published. Required fields are marked *