10
___
\ `
\ n // /2*pi*n\ /4*pi*n\ /pi*n\\ /p*log(x)\ / /2*pi*n\ /pi*n\ /4*pi*n\\ /p*log(x)\\
) --*||sin|------| + 9*sin|------| - 8*sin|----||*cos|--------| + |cos|------| + 2*cos|----| - 3*cos|------||*sin|--------||
/ pi \\ \ 3 / \ 3 / \ 3 // \ 3 / \ \ 3 / \ 3 / \ 3 // \ 3 //
/__,
n = 1
$$\sum_{n=1}^{10} \frac{n}{\pi} \left(\left(\left(\sin{\left(\frac{2 \pi n}{3} \right)} + 9 \sin{\left(\frac{4 \pi n}{3} \right)}\right) - 8 \sin{\left(\frac{\pi n}{3} \right)}\right) \cos{\left(\frac{p \log{\left(x \right)}}{3} \right)} + \left(\left(2 \cos{\left(\frac{\pi n}{3} \right)} + \cos{\left(\frac{2 \pi n}{3} \right)}\right) - 3 \cos{\left(\frac{4 \pi n}{3} \right)}\right) \sin{\left(\frac{p \log{\left(x \right)}}{3} \right)}\right)$$
Sum((n/pi)*((sin(((2*pi)*n)/3) + 9*sin(((4*pi)*n)/3) - 8*sin((pi*n)/3))*cos((p*log(x))/3) + (cos(((2*pi)*n)/3) + 2*cos((pi*n)/3) - 3*cos(((4*pi)*n)/3))*sin((p*log(x))/3)), (n, 1, 10))