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.

learn more… | top users | synonyms

0
votes
3answers
308 views

Maple Error on Asymptotic Analysis of $\ln(n)!$

In Maple, the command asmypt($f$,$x$) computes the asymptotic expansion of the function $f$ with respect to the variable $x$ (as $x \rightarrow \infty$). The command asympt(ln(n)!,n); gives the ...
0
votes
1answer
119 views

Derivative of HeunC function

Given the HeunC function: $$ \operatorname{HeunC}\left( \frac{a^2}{2} \sqrt{2k+3},-1/2,-1+\frac{a^2}{2},-\frac{a^2}{8}(-1 +a^2 k), \frac{1}{2}-\frac{a^2}{4}, -\frac{x^2}{a^2} \right) $$ where $a$ is ...
1
vote
1answer
219 views

Maple, Graph of an optimization problem

I have solved the following maximisation problem analytically. I would like to graph the solution as well so I can see it, but I am not sure how to do this with Maple, i have just started using it. ...
1
vote
0answers
218 views

How to derive to inverse z transform of $\sqrt{\frac{1-a^2}{1-\frac{a}{z}}}$ from Laguerre differential equation?

How can I derive the inverse z-transform of: $$\sqrt{\frac{1-a^2}{1-\frac{a}{z}}}$$ If Maple is not the way, how to derive manually? With Maple code I encounter some problems ...
0
votes
1answer
47 views

How to disable empty space around the center circumference of the 3D function(using Maple13 and plot3d())?

When I try to plot 3D functions like the equation of a sphere with Maple13 on Linux(OS) using plot3d() I see empty space around the center circumference of the graph. I understand it might be useful ...
2
votes
2answers
486 views

Visualization of Cantor set by Mathematica or Maple!

We all know what it is the Cantor set. The Cantor set is created by repeatedly deleting the open middle thirds of a set of line segments. One starts by deleting the open middle third $(\frac{1}{3}, ...
0
votes
1answer
88 views

Programming question in Maple [closed]

How do I ask Maple to skip an integer in a loop? Something like: for i from 0 to n do for j from 0 to n, j<>i, do ... (I want j to skip i.)
4
votes
2answers
984 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 :)
0
votes
1answer
294 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 ...
0
votes
1answer
2k 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 ...
1
vote
2answers
199 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 ...
0
votes
1answer
408 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 ...
1
vote
1answer
543 views

Lagrange Coefficients in Maple

I'm trying to compute Lagrange coefficients in Maple. Having found the $n$ roots of a Lagrange polynomial, I want to calculate the $j$-th coefficient: $$L_j(x) = \prod_{{i=0}\atop{j \neq ...
0
votes
3answers
768 views

Draw 3d double integral in Maple

I have a voluntary hand in I am working on, and in that rigard I need to draw the following figure in Maple. The area $ \displaystyle \iint_R \frac{x}{\sqrt{x^2+y^2}} \mathrm{d}A $ where $R$ is ...
0
votes
2answers
230 views

Integrating with vector coefficients in Maple

I'm trying to use Maple to do something like this integral: $\displaystyle\int \frac{a\mu-b}{||a\mu-b||^3} \mathrm{d}\mu$ Where $a, b$ are vectors and $\mu$ is a scalar I'm integrating by. But I ...
2
votes
2answers
913 views

Generating random array in Maple

I'm trying to do simulation in Maple, but I can't figure out how to do the following: How does one generate a set of random whole numbers in an array of 24 element (in 1 column) where the sum of the ...
1
vote
1answer
92 views

Maple help : How to use functions

I have a quadratic expression, which I process using the solve function in MAPLE, like so quadformula := solve(p,x); This displays the quadratic form of the ...
0
votes
1answer
51 views

Maple: Understanding PhasePortraits

I'm trying to understand how to use phaseportraits in maple by following an example however, I'm not really sure where certian aspects of the equations given come from: First, let us read in the ...
0
votes
1answer
294 views

How to make Maple 15 plot VolumeOfRevolution with implicity function?

Suppose I have two functions f(y) and g(y), how do I plot the surface rotated about the axes in Maple? Assume you cannot write f(y) or g(y) in terms of x. Maple only allows g(x) and f(x)
1
vote
1answer
122 views

How to substitute an array in a given expression in Maple?

Given e.g. f := a[1]*a[2]+a[1]*a[3]+a[2]*a[3] Now we want to substitute a[i]->i, I tried ...
0
votes
1answer
1k views

Find intersection of two functions in Maple

I have two functions $f$ and $g$ defined as: $$f := \operatorname{Spline}(\operatorname{pointsBW}, t)$$ $$g:=x \rightarrow \frac{1}{x}\int_0^x f\;dt$$ where $f$ is a functional form for a set of ...
0
votes
2answers
48 views

Lower-bounding expressions in Maple

I have the following complicated expression $E(n)$ and I am interested in finding a simple expression $S(n)$ such that $S(n) \leq E(n)$ for all sufficiently large $n$. Does anyone know how one can do ...
1
vote
0answers
148 views

recurrence relation of general difference polynomials

I have a sequence of difference polynomials (which I obtained by the method of finite differences) and I would like to find out if there is a recurrence relation between them. The generating function ...
1
vote
2answers
205 views

Is there a way to make Maple 15 graph on the plane?

I am trying to graph a parametric equation on $\mathbb{R}^2$, but Maple keeps giving me an $\mathbb{R}^3$ curve. Here is what I did ...
6
votes
1answer
225 views

Is correcting 2 consecutive error's in 9 messages from $ GF(2^6) $ by turning tham into 3 messages and solving Reed-Solomon code $ (3, 18) $ possible?

2 consecutive messages have errors. We have 9 messages from $ GF(2^6, x^6+x+1) $. Messages were encoded with $ (x+1)(x+a)(x+a^2)\sum_{i=1}^6X_ix^{i-1}=\sum_{l=1}^9Y_lx^{l-1} $ , where $ ...
1
vote
1answer
369 views

Maple: Galois Field with characteristic 2 $\mathrm{GF}(2^m)$ - how to convert polynomials into binary vectors and vice versa?

In GF($2^m$) each element is a polynomial also it is a binary message. I wonder how to make maple help me convert vectors of maple Bits into GF elements and back? Also it is not the question of ...
1
vote
1answer
199 views

Maple: bug in Overview of the GF (Galois Field) Package?

So I downloaded sample (Download Help Document) but I can not compile it - (last line fais with: ...
0
votes
1answer
243 views

How to simplify expressions in a polynomial ring using software Maple

![How to simplify expressions in a polynomial ring using software Maple][1]. For example,I want to verify some expressions is zero. But I don't know how to archive my goal. Anyone can help me? Thank ...
1
vote
1answer
338 views

Maple wrong about partial derivative of exponential function?

When I input this function in Maple: f := (x, y) -> exp(x+xy-2*y) And take the derivative: diff(f(x, y), x); I receive: ...
0
votes
1answer
1k views

mod and rem in Maple

I do not understand this statement "reduce the coefficient modulo 5 and take remainder"? Is the following Maple command to reduce the coefficient modulo 5 , which coefficient to reduce? ...
0
votes
1answer
163 views

recurrence relation only for odd indices maple

I want to define a recurrence relation $a(n)$ which is only defined for odd n. I tried something like: a:= (2*n-1)->a(2n-3)+(2n-2)!+a(2n-5); which apparently doesn't work. How do I define this ...
3
votes
0answers
162 views

Trying to solve Navier equations with Maple

I've been trying for ages now to get this to work, it's a system of partial differential equations (Engineering, Plate theory) $$pde1: = \frac{{{\partial ^2}}}{{\partial {x^2}}}u\left( {x,y} \right) ...
0
votes
1answer
145 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]) ...
1
vote
1answer
390 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 ...
1
vote
1answer
126 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, ...
0
votes
1answer
113 views

Maple: How to give values to assumptions for plotting?

So I have a simple example of what I want to do: ...
1
vote
2answers
66 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)?
0
votes
1answer
106 views

Maple: simplifying Im(a+I*b) - why it does not work for me? [closed]

So I want to simplify z:=a+I*b; Im(z) where a, b are real variables So I try: ...
0
votes
1answer
492 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 ...
2
votes
1answer
190 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 ...
1
vote
1answer
176 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 ...
0
votes
1answer
519 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 ...
2
votes
1answer
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 ...
0
votes
1answer
3k 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
1
vote
1answer
108 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 ...
0
votes
1answer
124 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 ...
1
vote
1answer
176 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 ...
3
votes
1answer
411 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 ...
0
votes
1answer
303 views

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

So I have a large txt file with such contents (like 20mbs long) ...
0
votes
1answer
555 views

Maple: How to turn a set of vectors into a matrix?

In Maple the command NullSpace turns a given matrix into a set of vectors -- a basis for its null space. This is precisely what it should in a mathematical sense. However, for computations using the ...