(17^2+(12^2+5^2)-2*17*(12^2+5^2)^0.5*cos(arctan(5 / 12)))^0.5