yacas Command Examples
Yet Another Computer Algebra System. More information: https://www.yacas.org.
- Start an interactive
yacassession:
yacas
- While in a
yacassession, execute a statement:
{{Integrate(x)Cos(x)}};
- While in a
yacassession, display an example:
{{Example()}};
- Quit from a
yacassession:
{{quit}}
- Execute one or more
yacasscripts (without terminal or prompts), then exit:
yacas -p -c {{path/to/script1}} {{path/to/script2}}
- Execute and print the result of one statement, then exit:
echo "{{Echo( Deriv(x)Cos(1/x) );}}" | yacas -p -c /dev/stdin