yacas

General purpose computer algebra system for symbolic math

brewmacoslinux
Try with needOr install directly
Source

About

General purpose computer algebra system

Commands

yacas

Examples

solve algebraic equations symbolically$ yacas -c 'Solve(x^2 - 5*x + 6 == 0, x)'
simplify mathematical expressions$ yacas -c 'Simplify((x^2 + 2*x + 1)/(x + 1))'
calculate derivatives of functions$ yacas -c 'D(x) Sin(x^2)'
integrate functions and compute antiderivatives$ yacas -c 'Integrate(x) x^3 + 2*x'
start interactive math shell for exploration$ yacas