Welcome to Oulu University CS orientation course 521002P Gitlab repository. Move on to the Wiki for more information.
This project builds some basic math functions for the calculus of series.
Just import the mathtools module. Each function is described in the code comments.
isPrime
: tells if a number is prime.factorial
: Calculates the factorial of a number.fib
: Calculates the n value of the fibonacci sequence.geometric
: Calculates the sum of a geometric serie.arithmetic
: Calculates the sum of an arithmetic serie.
Run the test.py