Zadanie 5: Suma

Zdefiniuj funkcję sum01(n) (n≥1), która oblicza sumę

Przykład wywołania funkcji:

>> S = sum01(1)
S = 1