# Tagged Questions

For questions involving the application of the program Maple to mathematics. NOTE: questions which focus primarily on the program Maple and not on its applications to mathematics are not appropriate for this site.

1k views

### Maple: how to solving composite function

Here is just an simple example that I want to use Maple to solve: $$h(x)=f(g(x))$$ $$g(x)=2x+1$$ $$h(x)=4x^2+4x+7$$ Find polynomial of $f(x)$ Thanks :)
338 views

### Random-Tree simulation

I wanna simulate a Galton-Watson Tree to a maximum of n generation given a reproduction law P. I use Maple but I am unable to create the edges of the tree whenever there are more than two vertices in ...
3k views

### Using maple to find stationary points within a domain/range

I have no trouble finding stationary points using diff and solve in the following way: f:= somefunction; dx:=diff(f,x); evalf(solve(dx=0)); which gives me an ...
697 views

### diffusion equation plot (matlab or maple)

The advection diffusion equation is the partial differential equation $$\frac{\partial C}{\partial t} = D\frac{\partial^2 C}{\partial x^2} - v \frac{\partial C}{\partial x}$$ with the boundary ...
231 views

### Error In Assigning Values to Two-Variable Function

Please migrate this question if it is not appropriate for Math.SE (I fear it is not). In the following snippet, $f(i,j)$ is a procedure that compares the value of $i$ and $j$ before deciding what to ...
499 views

### Running command line Maple script interactively

I'm connecting over ssh to a machine running Maple. Is there a way to run a script, let's say derp.mpl, such that after executing the script Maple is still running? Something perhaps analogous to ...
652 views

178 views

### Vector containing parameters

I am pretty new to maple and have the following question: If I define a vector q containing a parameter b should i define it like: q := vector[column]([b, 0]) ...
455 views

### Solving a system of equations in Maple

I have a set of equations which I would like to symbolically solve for a defined set of variables using the solve command in Maple. However, being not familiar with the program, it does not give me ...
133 views

### Extract a decimal from a vector in maple

Not sure if this question belongs in this form but I don't know where else to go. I'm trying to index a matrix and do a < comparison on it. Every time I try something like A[1] it says: Error, ...
122 views

### Maple: How to give values to assumptions for plotting?

So I have a simple example of what I want to do: ...
67 views

### Is $\frac{1}{(\textrm{can}-a-b\cdot i)^2}-\frac{1}{(\textrm{can}+\textrm{cod}-a-b \cdot i)^2}$ in any way simplifiable with Maple?

So I wonder if Maple can reduce such lines like $$\frac{1}{(\textrm{can}-a-b\cdot i)^2}-\frac{1}{(\textrm{can}+\textrm{cod}-a-b \cdot i)^2}$$ (assuming all variables but $i$ are real)?
572 views

### How to make a list in maple [closed]

I need to do some computations with maple which I don't know how to do it. So I thought I can ask you. I am going to pick a simple function, as simple as possible. let's take $f(x,y):=x^2+y^2$. I ...
195 views

### What's wrong with my writing in Prem algorithm?

Solved by fixing program I discover lead coefficient should include other variables now it stop infinite loop but result not correct i am near the answer $yz^6+2y^2z^4+5y^3$ the difference is my ...
189 views

### Having such integral, how to optimize it in maple?

So we have : (1/3)*sig0*h^3*(int(int(sin((1/3)*arctan(y, x)), x = 0 .. r), y = 0 .. 2*Pi)) Is it possible to optimise it? (in maple or any other way...) How I ...
647 views

### Maple: How to convert Cylindrical coordinates to Cartesian coordinates?

We get some expression in Cylindrical coordinates (r, ϕ, z ) like : expr := r*z^2*sin((1/3)*ϕ) we need to convert ...
2k views

### A series solution of the differential equation: $\frac{d^2u(x)}{dx^2}+ u(x)^n = 0.$

Consider the differential equation $\frac{d^2u(x)}{dx^2}+ u(x)^n = 0.$ Let the solution be $u(x) = u_0(x) + p u_1(x) + p^2u_2(x) + \cdots +p^m u_m(x).$ Now we are interested in substituting the ...
4k views

### System of differential equations in Maple

I have problems entering a system of differential equations to Maple 13. Equations are: $x' = -4x + 2y$ $y' = 5x - 4y$ Solve for $x = 0, y = 0$ Thank you in advance
116 views

### Maple giving nonsensical value for integral

(I think this question is acceptable for this site.) I ask Maple to evaluate integral(1/(exp(i*t)-z),t,-π,π), and I get [if |z| = 1 then undefined else -(2*π)/z]. I understand the first part, the ...
131 views

### Maple loses some solutions

Probably off topic, but still. I'm trying to solve equation of the form $P^2 = \mathrm{id}$, where $P$ is a matrix with some unknown coefficients. The problem is, Maple looses some solutions, in ...
184 views

### Differential equation problem in Maple

I have differential equation $x\cdot\sqrt{4+y^2}\,dx + y\cdot\sqrt{1+x^2}\,dy = 0$, which is simple to solve on paper, but I have problem solving it with Maple (I use 10th, tried on 14th also). When ...
418 views

### How to use Maple derive the 4th central moment for this distribution?

Let $X_i$ be a random variable, and the probability density function of X_i is $$P(X_i=k)=\frac{{k-1 \choose i-1}{m-k \choose n-i}}{m \choose n}$$ For more about the distribution, please refer to ...
431 views

### Maple: How to parse such CSV (Comma Separated Values) document?

So I have a large txt file with such contents (like 20mbs long) ...