sqr((3.2/2)^2+(2.5/2)^2-2*3.2*2.5*cos(39°)) code example Example: sqrt(14^2+5^2) sqrt(14^2+5^2) =~ 14.866