1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 06:43:59 +02:00
tldr/pages/common/yacas.md

29 lines
589 B
Markdown
Raw Normal View History

2021-08-02 03:43:01 -04:00
# yacas
> Yet Another Computer Algebra System.
2024-10-12 10:02:00 +02:00
> More information: <https://www.yacas.org>.
2021-08-02 03:43:01 -04:00
- 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:
2025-07-20 19:33:17 +03:00
`Example();`
2021-08-02 03:43:01 -04:00
- Quit from a `yacas` session:
2025-07-20 19:33:17 +03:00
`quit`
2021-08-02 03:43:01 -04:00
- Execute one or more `yacas` scripts (without terminal or prompts), then exit:
2025-07-20 19:33:17 +03:00
`yacas -p -c {{path/to/script1 path/to/script2 ...}}`
2021-08-02 03:43:01 -04:00
- Execute and print the result of one statement, then exit:
`echo "{{Echo( Deriv(x)Cos(1/x) );}}" | yacas -p -c /dev/stdin`