Questions tagged [maxima-software]

For questions concerning the open source computational software program Maxima.

For questions concerning the open source computational software program Maxima. The website for Maxima has documentation, a wiki, and other useful resources.

97 questions
9
votes
4 answers

Speeding up the convergence of a series

I want to speed up the convergence of a series involving rational expressions the expression is $$\sum _{x=1}^{\infty }\left( -1\right) ^{x}\dfrac {-x^{2}-2x+1} {x^{4}+2x^{2}+1}$$ If I have not misunderstood anything the error in the infinite sum is…
Sumo
  • 198
7
votes
4 answers

Maxima vector magnitude and cross product

I'm new to maxima. And I have two questions: 1. Question I have a little problem with computing vector's magnitude. Now I'm using such form as sqrt(v1.v1) This code looks very ugly. 2. Question I thought vector cross product is expressed like a~b.…
6
votes
1 answer

Runge-Kutta 4 - solving system of 6 differential equations (BVP)

I'm facing a tricky problem. I need to solve a system of 6 differential equations numerically, but I don't have 6 IVP (initial value problem) conditions, instead I have 6 BVP (boundary valye problem) conditions (3 conditions at $x=0$ and 3…
5
votes
2 answers

partial derivative with Maxima

I have the following equation: (v * w) / ( v * ((v * w) + (1 - v) * x) ) I want to find the partial derivative with respect to v. Using the quotient rule I get: (-w * (w - x)) / ((v * w + x - v * x)^2) If I set the values of the variables: v =…
5
votes
1 answer

Factoring polynomials over finite fields using Maple and Maxima

Can you factor polynomials over certain finite fields using Maple or Maxima, and if so, how?
4
votes
1 answer

Syntax to calculate sum with maxima or wxmaxima using different variables

So I'm not sure if I'm right here but I can try: So we are having a statistics class at uni. The question is: $x_{1}= 5$, $x_{2}= 3$, $x_{3}= 7$ $y_{1}= 6$, $y_{2}= 4$, $y_{3}= 12$ Calculate following: $\sum_{i=2}^{3}(x_{i}+y_{i}) =$ I know it's…
k3njiy
  • 43
  • 1
  • 3
3
votes
2 answers

maxima and converting output of variable to float

I can get maxima to solve an equation but can't figure out why it won't show it's numerical value without typing the extra command/step of float(%). Is there away to automatically convert a solved variable to a numerical format. Example of…
Rick T
  • 497
3
votes
1 answer

Maxima CAS: How to differentiate w.r.t. an expression?

Is there a way to differentiate with respect to an expression, instead of a single variable in Maxima CAS? Here is a toy example, which should give $\frac{\partial}{\partial x^2}x^2=1$: diff(x^2,x^2); with an error in wxMaxima 20.06.6 diff: second…
3
votes
1 answer

Why does Maxima say these expressions are not equivalent?

If I compare two expressions in Maxima, it tells me they are equivalent, as expected: (%i25) is(equal( sqrt(2)*sqrt(5), sqrt(10) )); (%o25) true But if I multiply each expression by a constant, it then tells me they're…
John B
  • 272
3
votes
1 answer

Complex equation in maxima

I rested on this tutorial. After issuing the command with "solve" function: %i2 solve((a-b-sqrt(-c^2+2*c*y-y^2+r^2))^2+(d-y)^2=2*r^2*(1-cos(e)),y); The output is: Why there is unknown quantity "y" on the right side? P.S. There's no "Maxima" tag,…
2
votes
1 answer

Eliminate 2 variables from 3 equations with lots of parameters

I want to eliminate the variables x and y from these 3 equations in a way that all parameters appear in one equation without x and y: A : (x-xa + ta*xsa)^2 + (y-ya + ta*ysa)^2 + (1-xsa^2-ysa^2)*(ta+oa)^2 - rod1^2 = 0; B : (x-xb + tb*xsb)^2 + (y-yb +…
2
votes
0 answers

Eigenvalues of $\pmatrix{1&1\\1&2}$

I use maxima for calculation eigenvalues of this matrix: $$ \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix} $$ and I get $\frac{3\pm\sqrt{5}}{2}$ and then $[1,1]$ for some reason. Namely: (%i1) matrix( [1,1], [1,2] ); …
2
votes
0 answers

How to calculate double limit in Maxima?

I want to calculate a double limit in Maxima. For instance,$$\lim_{(x, y)\to(0, 0)}\frac{x^3y}{x^6+y^2}$$ By the way, it is very interesting that I calculated it in "wolframalpha" yet it gave me the result $0$! I think the correct answer should be…
2
votes
1 answer

solving a non-linear (trigonometric) system of equations with two equations and two variables

I'm trying to solve the following system of equations: $$l_1 \sin(\alpha) = l_2 \cos(\gamma) + l_3 \sin(\beta)$$ $$l_2 \sin(\gamma) + l_1 \cos(\alpha)=l_3 \cos(\beta) + l_4$$ with the unknowns $\beta, \gamma \in \Bbb R⁺$, the constants $l_1$, ...,…
2
votes
2 answers

Maxima CAS : distributing exponential terms while factoring

In maxima, I have an expression that is simplified to an expression similar to the form of: tmp : c * d * (exp(a*t) - exp(b*t)) * exp(-a*t-b*t); A typical simplification by hand would be to distribute the exponential term while leaving the $c$ and…
rj8
  • 25
1
2 3 4 5 6 7