yacas

Yet Another Computer Algebra System.

TLDR

Start an interactive yacas session

$ yacas
copy

While in a yacas session, execute a statement

$ [Integrate(x)Cos(x)];
copy

While in a yacas session, display an example

$ [Example()];
copy

Quit from a yacas session

$ [quit]
copy

Execute one or more yacas scripts (without terminal or prompts), then exit

$ yacas -p -c [path/to/script1] [path/to/script2]
copy

Execute and print the result of one statement, then exit

$ echo "[Echo( Deriv(x)Cos(1/x) );]" | yacas -p -c /dev/stdin
copy

Copied to clipboard
3commas