For questions concerning the open source computational software program Maxima.

learn more… | top users | synonyms

0
votes
1answer
29 views

in Maxima how to get Fourier transform identity ($\mathcal{F}^{-1}(\mathcal{F}(f)) = f$)?

I'm currently trying to figure out something related to signal processing and wanted to draft Maxima for the task. As a starting point I tried to make Maxima evaluate the identity ...
0
votes
1answer
22 views

Taylor Series substitution giving different answers

I was given the function: $f(x) = 1/(1+x)^2$ and its Taylor series: $1 - 2x + 3x^2 - 4x^3 + \cdots$ In order to get the Taylor series for the closely related function $1/((1/2)+x)^2$, I simply ...
0
votes
1answer
49 views

Finding value of (y) of logarithmic equation given (x)

I have an logarithmic equation $$\left[ r=a\,e^{b\,\theta} \right] $$ And I plot it to visualise it (see plot below). I can tell by the plot when (t=0), x1=0, y=1 (point AA) but how can I find out ...
0
votes
0answers
22 views

Solving for 1 varible while missing two variables in non linear sin wave equation:

I can solve for y for the equation below but how do I go about solving for other freq(x) values? Example equation below: $$\left[ y={\it amp_1}\,\cos \left(2\,{\it freq_1}\,\pi\,t+ {\it ...
0
votes
0answers
21 views

Maxima: How to make rule substitutions?

I have been using Maxima to do some algebra and I ended up with a formula that is defined by ...
1
vote
0answers
43 views

Maxima CAS and programmatically defining a function with a variable number of arguments. -?

This is a very simplified question of what I had asked. In Maxima, how can I include a for-loop counter in the left-hand side of an assignment, e.g. ...
0
votes
0answers
15 views

Formatting large number in Maxima.

When I run t(s) := 0.21254*s*(s^2+2.87548)/((s+0.6)*(s^2+0.3*s+1.02)); rho(s) := sqrt(1-abs(t(s))^2); ratsimp(rho(%i*omega)^2); in wxMaxima I get ...
0
votes
0answers
24 views

Where did I go wrong in this simplification involving the Lambert W Function?

I have been working on this problem for about a day and thought I finally found a way to simplify it, unfortunately when I plug my simplification back into maxima I get that they are not equal by what ...
1
vote
0answers
40 views

Integration of gaussian divided by square root of -log(1-x) - does the Meijer G function help me?

After some modelling of my data I came to the following integral: $$ \int_0^{1}\dfrac{exp{\left(-\dfrac{\left(x-\mu\right)^2}{2\,\sigma^2}\right)}}{\sqrt{-\log{(1-x)}}} $$ I cannot solve it, and ...
1
vote
0answers
10 views

Maxima-Minima with multivariable function.

Let's have: $$f(x,y)=\max\{x^2+2y,y^2+4x\}\forall x,y\in\mathbb R$$ We need to find the least value of $f(x+y)$, Now let us choose $*$ to denote any of $\ge,\le,=,<,>$. Here: ...
0
votes
1answer
33 views

How can I use Maxima to obtain individual iterations of Newton's method?

I'm using Maxima with the following calculation: ...
0
votes
2answers
40 views

Finding the area under the first three curves

I am asked to calulate the area under the first three curves of the function $$\frac{1 + \sin(2 x \pi)}{1+x}$$ on the interval $[0, 10]$. I know how to integrate, but I don't know how to find the ...
0
votes
0answers
19 views

How I represent a set in Maxima?

Is there a way to represent sets bounding the inner variable using Maxima? For example, suppose I want to represent the following set: $$\left\{ n + \frac{(-1)^n}{n} : n \in \mathbb{N}\right\}$$ How ...
0
votes
0answers
24 views

Matrix algebra with Cadabra

I am novice in mathematics. I need to do a lot of symbolic matrix algebra. I found that Cadabra have a lot of facilities to do tensor calculations. But I need only matrix algebra. Is there a better ...
2
votes
0answers
58 views

How to solve 3D vector equations symbolically?

I'm trying to solve the following system of equations for $\vec{X}$: $$ \vec{A} \cdot \vec{X}=d_1 $$ $$ \vec{B} \cdot \vec{X}=d_2 $$ $$ (\vec{A} \times \vec{B}) \cdot \vec{X}=(\vec{A} \times \vec{B}) ...
0
votes
1answer
25 views

Interpretation maxima %rnum_list

I don't really understand how to interpret the output of the function solve() in Maxima. For instance, I have to sove this: ...
0
votes
0answers
46 views

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 ...
0
votes
1answer
287 views

Maxima vector magnitude and cross product

I'm new to maxima. 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. I thought ...
0
votes
1answer
68 views

Simplifying with wxMaxima

I have this expression in wxMaxima: ...
0
votes
1answer
125 views

Maxima can't solve relatively simple equation.

I'm trying to solve this equation for x, with Maxima: What I am doing wrong here? ...
9
votes
3answers
154 views

Speeding up the convergence of a series

I want to speed up the convergence of a sequence 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 ...
2
votes
1answer
129 views

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: ...
0
votes
1answer
68 views

what is wmaxima doing here?

there is a problem in the calculus book I'm reading that has a function f (see below) that is not continuous at (0,0). the book says that despite this fact, both partial derivatives still exist ...
1
vote
0answers
97 views

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: ...
0
votes
0answers
36 views

Inequality testing using numerical substitution

I am seeing that CASs might fail in inequality testing, so a vague approach can be to test them for very large number of values sampled at some interval and it might give at least some approximation. ...
1
vote
0answers
97 views

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 ...
1
vote
1answer
369 views

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$ ...
1
vote
0answers
15 views

Multiple Functions for probability

$$Pr(V1) =p + p \times Pr(V3)$$ $$Pr(V2) =p \times Pr(V1)$$ $$Pr(V4) =p \times Pr(V2)$$ $$Pr(V3) =q + q \times Pr(V3) + q \times Pr(V1) +q \times Pr(V2)$$ How would I solve for $Pr(V4)$ in maxima ...
0
votes
1answer
84 views

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 ...
0
votes
1answer
23 views

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?
0
votes
1answer
80 views

Maxima CAS , Statistic Formula with Maxima

I am working on my graduation project which study sport players' performance. I have collected the data and finished all the surveys but then I am stuck at using the following formula to calculate ...
0
votes
1answer
155 views

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 ...
0
votes
2answers
64 views

Polynomial Simplification

I've been working with Maxima and its thrown me an expression like this $$ \left( \left( \left( 6\,{w}_{1}-6\right) \,{p}_{2}-6\,{p}_{1}\,{w}_{1}+6\,{p}_{0}\right) \,{w}_{2}^{2}+\left( \left( ...
1
vote
1answer
130 views

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 ...
-1
votes
2answers
58 views

simplification in maxima : removing terms with “small” contributions from an expression

Often in applied situations there are simplifications for small x. For example $x<<1$ and $x/(1+x) \approx x$ or $(x + x^2)/c \approx x/c$. Is there a way in Maxima to carry out these sorts ...
1
vote
3answers
1k views

How to plot circle with Maxima?

I cannot get equitation plotted Expression: f1: (x^2) + (y^2) = 9; I try this command: ...
1
vote
1answer
49 views

Find out the design of a cylinder

A cylindrical can is made from tin.If it can be contain $1000 m^3$ liquid inside it then what is the parameter of design if we are oblige use the minimum amount of tin. My teacher give me this and say ...
1
vote
0answers
180 views

Grassman algebra and Maxima

How can I setup the Maxima atensor package for manipulating Grassman algebra ? The documentation just mentions a grassman option for initializing the atensor package (init_atensor). I can't find any ...
2
votes
0answers
139 views

Is maxima able to solve such integral? If no, what can?

I was sitting and decided to get a precise magnetic field equation from Bio-Savar law, and got out this handsome formula (by the way, is there a way to use ASCIIMath here on Mathematics?): $$ ...
0
votes
2answers
60 views

Maxima not finding solution to simultaneous equations when one exists

I am using Maxima to solve the following equations simultaneously: $$ 990=e^x \tag{1}$$ $$ 590=e^{(x - 10y)} \tag{2}$$ however the command ...
0
votes
1answer
60 views

How to force wxMaxima to calculate subfunctions?

I have the following code: ...
3
votes
2answers
565 views

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: ...
1
vote
0answers
99 views

Flatten kronecker product in CAS?

I am a new user of Maxima, and I need to trace the elements of a big messy kronecker product of symbolic matrices. I tried the following to get my feet wet, but I don't get a simple, flat matrix -- ...
4
votes
1answer
921 views

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) ...
1
vote
0answers
44 views

Question about Maxima

We want to sum up a polynomial WeylNumer(m+n-2*i,2*i+2*k+1-2*j)) for i from 0 to m, for j from 0 to n. What does "map(x->sum(sum(x,j,0,k),i,0,m),WeylNumer(m+n-2*i,2*i+2*k+1-2*j));" mean in Maxima? ...
0
votes
1answer
1k views

How to compute the upper incomplete gamma function in MATLAB?

I need to compute the upper incomplete gamma function $$\Gamma(0,i\pi K)$$ where $i=\sqrt{-1}$ and K is real. I have some basic idea about what this "special function" is, but am not used to using ...
1
vote
1answer
438 views

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 ...
3
votes
1answer
2k views

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 ...