Maxima

Maxima

Installation

Ubuntu
apt install maxima
Arch Linux
pacman -S maxima

Examples

Fibonacci Numbers
/* Fibonacci Numbers */
fib(n) := if n < 2 then n else fib(n - 2) + fib(n - 1);

/*
example
    run:
        maxima --very-quiet --init-mac fib.mac --batch-string="fib(30);"
*/