Task 01

Task 01ΒΆ

deadline: 28/02/2021 23:59 CET

[0.5 points]: Write a function that takes \( n \in \mathbb{N} \) as an argument and returns the following sum,

\[ \sum_{k = 1}^{n} 2 \sqrt{k} \sin{ \left( \frac{k \pi}{10} \right)}. \]

[0.25 points]: Print the above sum for \( n = 100 \).

[0.25 points]: Plot the above sum for \( n \in [1, 100] \).

# add your code here