cosines law 1134722