Using Yacas sessions inside TeXmacs

As its name indicates, Yacas is Yet Another CAS, which can be downloaded from

    http://www.xs4all.nl/~apinkus/yacas.html

You may start a Yacas session using InsertSessionYacas. Here follows a short demo:

yacas]

f(x):= x+Sin(x);

True
yacas]

D(x) f(x);

cos x + 1
yacas]

Integrate(x,0,Pi) f(x);

π2
2
+ 2
yacas]

GnuPlot(-10,10,80,f(x));

True
yacas]

The produced graph in the last command is shown in another window. Using the “snapshot” of the Gimp you can save the graph as an image and embed into the worksheet using InsertImage:

Figure 1. The graph of x + sin x as produced by Yacas.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".