1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

yacas: add page (#6263)

This commit is contained in:
Daniel Birket 2021-08-02 03:43:01 -04:00 committed by GitHub
parent 74787825d5
commit eaef3b4d21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
pages/common/yacas.md Normal file
View file

@ -0,0 +1,28 @@
# yacas
> Yet Another Computer Algebra System.
> More information: <http://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`