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
7
votes
3 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.…
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
  • 262
2
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
  • 457
2
votes
0 answers

Multisets in Maxima

I've been trying to figure out how to create multisets in Maxima and a function that produces the cartesian product of two multisets. I've tried using lists and row matrices. For example, I can represent the multiset $\{1,2,4,4\}$ as the set…
1
vote
2 answers

Maxima can't solve relatively simple equation.

I'm trying to solve this equation for x, with Maxima: What I am doing wrong here? declare([a, b, c, d], constant); solve(a+b*sqrt((c+x)^2 - d) - x); [x=b*sqrt(x^2+2*c*x-d+c^2)+a] Obviously that is not a solution - x is on both sides! Wolfram…
Timmmm
  • 244
1
vote
0 answers

How can Maxima integrate function with vector coefficient calculation in it?

Say I have a function $f(t) = A t$ where $A \in \mathbb{R}^3$. I want to integrate it: integrate(f(t), t, 0, 1); it works and gives me 1 / 2 A, which is what I want. However, if I type in: integrate(f(t) . f(t), t, 0, 1); it does not provide the…
Hans
  • 47
  • 4
1
vote
1 answer

Plotting function in Maxima

So, I've been given an assignment for my new course and unfortunately, the introduction to Maxima tutorial is only the day before the assignment is due which I find to be rather poor planning. Therefore, I'd like to get some help here to complete…
C. Wolfe
  • 184
1
vote
1 answer

Maxima not returning any solutions for simultaneous equations.

Maxima returns no results for the following: solve ([a = (p-x)*c, b = (q-x)*d, a + b = 0], [x]); I think it should return: d q + c p [x = ---------] d + c What am I doing wrong?
Rob190
  • 13
1
vote
0 answers

Maxima CAS simplification for idempotent objects

I'm trying to use the Maxima CAS system to study expressions involving idempotent objects (density operators in quantum mechanics). I would like to simplify expressions using the idempotent property, which in my case takes the form $\rho S \rho =…
1
vote
0 answers

Integrating and plotting Green's function using Maxima

I am trying to integrate product of two Green's functions and plot the results using Maxima. The problem is that Green's functions have singularities. $ I=\int_{-\infty}^{+\infty}dxG1(x)G2(x)(F1(x)-F2(x))$ and $ G1(x) = \frac{1}{…
Aschoolar
  • 468
1
vote
0 answers

How to show individual summation terms when calculating sum with maxima or wxmaxima

I have a question about using maxima. Supposing I have the following sum: sum (i^2, i, 0, n); \[\sum_{i=0}^{n}{i}^{2}\] and say I use it to sum up to 4: sum (i^2, i, 0, 4); = 61 If I want to list all the sum terms 1 + 4 + 9 + 16 how can I do this?
onepound
  • 1,365
0
votes
2 answers

In the software Maxima, how to get the k-th element in a list

I looked up the manual and only find functions first([1,2,3]) second([1,2,3]) third([1,2,3]) ... how to get an element by an index?
golopot
  • 246
  • 2
  • 6
0
votes
1 answer

Typing in zeta function using maxima

How do I type the symbols in for this formula into maxima (it's the zeta function)? I'm looking for the proper symbols/keys/text sequence. Example in latex to get the zeta symbol you type in \zeta but what sequence of letters and symbols does one…
Rick T
  • 457
0
votes
0 answers

Maxima CAS, Solve(), heap exhausted

I have 13 equations, using variables named d1 .. d13. I give you 3 examples of them: eq 1 :$$-1512306498003420269625002340551784=\mathrm{d13}^2-73976030 \mathrm{d12} $$ eq 2 :$$\text{{some 220 digit integer}} =\mathrm{d1}^2- \text{{some 120 digit…
0
votes
0 answers

maxima solving linear equations

I have some equations and I'm trying to find the value of $m_3+m_7+m_{11}+m_{15}$. All the variables are $\ge 0$ as a constraint (how to enter that?) I can solve by paper/pen and get $34$ so I know this can be solved. However, I'd like to able to…
1
2