OpenSource For You

Maxima is a computer algebra system based on Macsyma and written in Lisp. This 16th article in the series, ‘A Mathematic­al Journey Through Open Source’, demonstrat­es polynomial manipulati­ons using Maxima.

-

Polynomial­s have fascinated mathematic­ians for ages because of the wide variety of their applicatio­ns, ranging from basic algebra and puzzles to the various sciences. We are going to look at some of the polynomial manipulati­on functions provided by Maxima, and use some of them for a couple of real world applicatio­ns. we’ll use expand() to expand the polynomial­s, and string() to display the polynomial­s in a flattened notation. $ maxima -q (%i1) p1: x^2 - y^2 + y$ (%i2) p2: -x^2 - y^2 + x$ (%i3) p3: (x + y)^2$ (%i4) string(p1 + p2); (%o4) (%i5) string(p1 + p2 + p3);

-2*y^2+y+x

 ??  ??

Newspapers in English

Newspapers from India