From eaef3b4d2111a816b416eaecfe7d87641c274d1a Mon Sep 17 00:00:00 2001 From: Daniel Birket Date: Mon, 2 Aug 2021 03:43:01 -0400 Subject: [PATCH] yacas: add page (#6263) --- pages/common/yacas.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/yacas.md diff --git a/pages/common/yacas.md b/pages/common/yacas.md new file mode 100644 index 0000000000..5c54790b1f --- /dev/null +++ b/pages/common/yacas.md @@ -0,0 +1,28 @@ +# yacas + +> Yet Another Computer Algebra System. +> More information: . + +- 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`