Questions tagged [yacas]

Acronym for Yet Another Computer Algebra System. An open-source software package, YACAS is an easy to use, general purpose Computer Algebra System, a program for symbolic manipulation of mathematical expressions. It uses its own programming language designed for symbolic as well as arbitrary-precision numerical computations. The system has a library of scripts that implement many of the symbolic algebra operations; new algorithms can be easily added.

Yacas (Yet Another Computer Algebra System) is a small and highly flexible general-purpose computer algebra system and programming language. The language has a familiar, C-like infix-operator syntax. The distribution contains a small library of mathematical functions, but its real strength is in the language in which you can easily write your own symbolic manipulation algorithms. The core engine supports arbitrary precision arithmetic, and is able to execute symbolic manipulations on various mathematical objects by following user-defined rules.

You can use Yacas directly from the web site as a Java applet (it runs inside your browser without needing a connection to a remote server). This means that no additional software needs to be installed (other than a free Java environment if this is not installed yet).

Yacas can also be downloaded. The download contains an off-line version of Yacas, a native executable that can run on your computer. The menu entry starts the console of the "Yacas calculation center".

Source

25 questions
1
vote
1 answer

yacas on windows: cannot enable port 3794

I have read the info in R: trouble making package Ryacas to work on Windows . I installed the yacas executable and can run it directly by double-clicking the yacas.exe icon. However, if I try to get any help, e.g. "??" I get the error message…
Carl Witthoft
  • 20,573
  • 9
  • 43
  • 73
0
votes
1 answer

Ryacas indefinite integral

I am trying to use Ryacas to calculate indefinite integral library(Ryacas) x <- Sym("x") Integrate(sin(x), x) but was told the following message. Error in Sym("x") : could not find function "Sym" Can anyone tell me what happened? The version of…
0
votes
2 answers

Rendering Latex using MathJax in Shiny

I am trying to create a dynamic Shiny app that uses the yacas Computer Algebra System to process entered functions. As a first step, I want the UI to confirm what it understands has been typed in. However, the following Shiny code is not displaying…
Nevil
  • 161
  • 1
  • 11
0
votes
0 answers

unable to install yacas with Rstudio

I already downloaded Yacas on my windows. I first installed package Ryacas directly from Rstudio but no yacas functions can be run. I later ran this command and got the following errors: > devtools::install_github("r-cas/ryacas", build_opts =…
nens
  • 39
  • 4
0
votes
1 answer

Arrange "pretty form" in (R)yacas

I have this expression: "98/25 * x1^3 * x2 + 28/5 * x1^2 * x2^2 + 98/25 * x1 * x2^3" When I apply PrettyForm with Ryacas, I get: cat(yac_str("PrettyForm(98/25 * x1^3 * x2 + 28/5 * x1^2 * x2^2 + 98/25 * x1 * x2^3)")) 3 2 …
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
1 answer

extract coefficient of x^k from Ryacas calculated expression

I got a Ryacas expression like this, and I want to extract the coefficient of x^4,11. How should I write the code to get this, thanks.
Bean Lee
  • 33
  • 3
0
votes
1 answer

Coerce TeXForm("Sqrt(x^2/(z^2+1))") result to a character automatically

I have formula that I converted to LaTeX by Ryacas::TeXForm. I can`t get from the result character sting that contains LaTeX code, without doing it by hand. I tryed: y<-"Sqrt(x^2/(z^2+1))" Sym(y) z<-TeXForm(y) I got: "$\sqrt{\frac{x ^{2}}{z ^{2}…
Alex Alex
  • 235
  • 2
  • 14
0
votes
1 answer

Yacas apparently computes one-sided limit wrong

I want to find lim(x->4-) ((x-4)/(x^2-8*x+16)) so I typed this into the Yacas interface: Limit(x,4,Right) (1/(x-4)) Yacas answered: Infinity But that is wrong; the answer is -Infinity. Am I just misunderstanding the dir argument of the Limit()…
0
votes
1 answer

Ryacas and MaxEvalDepth

I've started using R to solve a complex equation. After generating the equation I tried to solve it using Ryacas. Unfortunately, instead of giving me the result, Ryacas returns the following: CommandLine(1) : Max evaluation stack depth reached. …
MarcinAu
  • 602
  • 2
  • 6
  • 18
1
2