MathCastle
TrigonometrySuperchallengeThe Unit Circle and Circular Functions

The Unit Circle and Circular Functions · Superchallenge problem

For an angle tt, let r(t)r(t) be its reference angle: the angle between 00 and π2\dfrac{\pi}{2} that the terminal side makes with the xx-axis (so r(t)=0r(t) = 0 when the terminal side lies on the xx-axis). Evaluate

∑k=124r ⁣(kπ7).\sum_{k=1}^{24} r\!\left(\frac{k\pi}{7}\right).