1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 02:35:41 +02:00
tldr/pages/common/yacas.md
2025-07-20 22:03:17 +05:30

28 lines
589 B
Markdown

# yacas
> Yet Another Computer Algebra System.
> More information: <https://www.yacas.org>.
- Start an interactive `yacas` session:
`yacas`
- While in a `yacas` session, execute a statement:
`{{Integrate(x)Cos(x)}};`
- While in a `yacas` session, display an example:
`Example();`
- Quit from a `yacas` session:
`quit`
- Execute one or more `yacas` scripts (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`