Skip to content

Commit

Permalink
yacas: add page (#6263)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-birket authored Aug 2, 2021
1 parent 7478782 commit eaef3b4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pages/common/yacas.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit eaef3b4

Please sign in to comment.