function out=essai(a, b, theta)
out = sqrt(a.^2+b.^2-2*a.*b.*cos(theta));

SideThree = essai(2, 3, pi/6);