We have a triangle ABC where AB = 17, BC = 18, and AB = 8. Let M be the midpoint of AB. What is the length of CM?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a = 18 b = 8 c = 17
CM = [sqrt(2a2 + 2b2 - c2)] / 2
CM = 11.034