Very nice! I would never had thought of 'c = a*cosB + b*cosA', but I do see how that follows from the law of cosines.
blackjack
flooble's webmaster puzzle