http://en.wikipedia.org/wiki/Law_of_cosines
a=13 b=18 c=26
cos Alpha = (b2 + c2 - a2) / (2*b*c)
cos Beta = (c2 + a2 - b2)/(2*c*a)
Gamma=180-Alpha-Beta
a=13; b=18; c=26; acos((b^2 + c^2 - a^2) / (2*b*c)) = 27.399361586368°
a=13; b=18; c=26; acos((c^2 + a^2 - b^2)/(2*c*a)) = 39.582305569896°
180 - 27.399361586368 - 39.582305569896= 113.018332843736°
verification with http://en.wikipedia.org/wiki/Law_of_sines
13sin360∘(27.399361586368∘)=28.249208025435121118sin360∘(39.582305569896∘)=28.249208025418069526sin360∘(113.018332843736∘)=28.2492080254044281
.