Trigonometric chord function