f and e are midpoints of ab and ad respectively . if the side of square abcd is 8 , what is the area of triangle cef ?
area of shaded figure = area of square - ( area of triangle aef + area of triangle fbc + area of triangle edc ) = 8 * 8 - ( 1 / 2 * 4 * 4 + 1 / 2 * 4 * 8 + 1 / 2 * 4 * 8 ) = 24 . answer e .
subtract(subtract(subtract(square_area(8), triangle_area(divide(8, const_2), 8)), triangle_area(divide(8, const_2), 8)), triangle_area(divide(8, const_2), divide(8, const_2)))