Used to teach ComputerScience in C++. One can find the solution and skeleton code for each task, such that it is possible to solve the tasks alone. The code should be reasonably documented.
We can use the following formula for an approximate version
where we truncate the sum by only consider summands for