Questions tagged [maxima]

Maxima is an opensource Computer Algebra System based on the legendary Macsyma. NOTE: This tag has NOTHING to do with 'finding the maxima' - for that, please use [max].

Maxima is an opensource Computer Algebra System based on the legendary Macsyma.

Maxima can manipulate a wide range of symbolic and numerical expressions. The system handles differentiation, integration, Taylor series, Laplace transforms, ordinary differential equations, systems of linear equations, polynomials, and sets, lists, vectors, matrices, and tensors.

Maxima yields high precision numeric results by using exact fractions, arbitrary precision integers, and variable precision floating point numbers. Maxima can plot functions and data in two and three dimensions.

More details:

841 questions
5
votes
1 answer

How to set the size of a wxplot2d plot in a wxMaxima worksheet?

I'd like to set the size of a wxplot2d plot on a maxima worksheet to be smaller or larger than the default. How does one do this?
daj
  • 6,962
  • 9
  • 45
  • 79
5
votes
1 answer

How to compare two expressions with maxima?

I have two complicated mathematical expressions. How can I compare them, to find if they express the same using Maxima?
erik
  • 2,278
  • 1
  • 23
  • 30
5
votes
1 answer

Assign Taylor expansion to function

When I use Maxima to calculate the Taylor series: f(x,y) := taylor((x+y)^3, [x, y], [2, 3], 2); f(2,3); /* error: wrong number of arguments */ Basically I want to define a function as a expansion of (x+y)^3, which takes in x,y as parameter. How…
gongzhitaao
  • 6,566
  • 3
  • 36
  • 44
5
votes
2 answers

Maxima : how to do formal calculations with complex numbers?

I am new to Maxima and I can't find in the documentation how to do formal calculation on complex numbers. When I use unspecified variables, Maxima seems to assume that they are real : conjugate(x) returns x for instance. Is there anyway to solve…
Selim Ghazouani
  • 151
  • 1
  • 3
5
votes
1 answer

simplifying formulas in maxima

I'm using maxima software to help me simplify formulas. Usually, I can manage easily with subst, ratsubst, factor, ratsimp, ... But there are still are few formulas I find hard to simplify the way I'd like to. assuming that a > b and c > d, I'd…
Arthur
  • 51
  • 3
5
votes
4 answers

How to make the output of Maxima cleaner?

I want to make use of Maxima as the backend to solve some computations used in my LaTeX input file. I did the following steps. Step 1 Download and install Maxima. Step 2 Create a batch file named cas.bat (for example) as follows. rem cas.bat echo…
kiss my armpit
  • 3,413
  • 1
  • 27
  • 50
5
votes
1 answer

Arbitrary size matrices in maxima

I want to do some calculations with matrices of arbitrary size. Simple example - take two matrices NxM and MxK, with arbitrary elements, and see element of product as sum. But i cant find a way to do such symbolic calculations without specifying…
Mikhail Cheshkov
  • 226
  • 2
  • 14
5
votes
2 answers

How to simplify cos(pi)?

I'am new to Maxima and would like to use it for Denavit-Hartenberg matrices (consists of a lot of cos and sin terms). The problem is, that maxima does not simplify the following expression: ex: x*cos(pi); I expect, that Maxima simplifies ex to -x.…
Vertex
  • 2,682
  • 3
  • 29
  • 43
5
votes
1 answer

How to pass list as variable arguments function in Maxima?

In Maxima there are some function accept variable arguments like diag_matrix( a1,a2,...,an), which is used to create a diagonal matrix with diagonal elements are a1,...,an However, currently I have a list of [a1,a2,..an] and want to create a…
5
votes
2 answers

Stacking Columns of a matrix in Maxima

I want to stack columns of a matrix in Maxima. Example b3: matrix( [1,0,0], [-a21,1,0], [-a31,-a32,1] ); I wonder how to stack the columns of this matrix. Thanks in advance for your help and time.
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
4
votes
4 answers

How to write an array into a text file in maxima?

I am relatively new to maxima. I want to know how to write an array into a text file using maxima.
phobos
  • 105
  • 1
  • 5
  • 10
4
votes
3 answers

How to import maxima into sbcl

As we know, Maxima is based on common lisp. I'm writing a lisp program working in Maxima; using Maxima procedures. I press argument "maxima -p foo.lisp" to load the lisp file, and it works well. However, I'm poor at programming, so my programs have…
Yai0Phah
  • 433
  • 4
  • 14
4
votes
1 answer

How to define some variables as non-commutative in Maxima

For example, I'd like to define x and y as non-commutative, and a and b as commutative (as usual). In other words, x y ≠ y x, a x = x a, a b = b a . Further, (x + a y) (x - a y) = x^2 + a (y x - x y) - a^2 y^2 . What is a code for defining x and…
weis26
  • 401
  • 6
  • 16
4
votes
0 answers

Unable to solve equations involving trigonometric funcions

I am trying to solve an equation involving trigonometric functions with Maxima, but I am not able to get the solutions. For example, solve(sin(x) = cos(x),x) returns [sin(x) = cos(x)] instead of %pi/4, and even equations with only one solution fail,…
User1234321
  • 321
  • 1
  • 10
4
votes
1 answer

wxMaxima: subindexed variables in functions work when written as "x_1" but not when written as "x[1]"

I'm having trouble defining a function in terms of variables with subindices. Using the makelist command I can create an unspecified function that depends upon the subindexed variables x[1] and x[2]. However, when I try to give an expression to that…
User1234321
  • 321
  • 1
  • 10
1
2
3
56 57