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

-1
votes
0answers
19 views

How to output expression in Maple “as is”? [on hold]

I have expression like this: link And it showed as simplified expression. But i want output it "as is", without any simplification. All that i need: change variables "evals[1]", "a[1,1]" and etc. ...
-2
votes
1answer
31 views

maple allvalues function? [on hold]

I have two simultaneous equations that I have solved (for two parameters) using Maple. The solutions are themselves complicated expressions of yet another parameter. I had to use the ``allvalues'' ...
0
votes
0answers
29 views

How to calculate function which takes vector 1..5 as parameter [closed]

I have following func: f:=(x)->x^2 I need to get a list of values of the function where x is vector 1..5 How can i do that? Thanks!
0
votes
0answers
11 views

I want to find a maximum of a function by Maple. How to restrict the variables to be integers? [closed]

For example, I want to find the maximum of $x^2+y^2$ with $0\le x,y\le 10$ in Maple. I can type $$maximize(x^2+y^2,x=0..10,y=0..10).$$ But if I restrict $x$ and $y$ to be both integers, then how can ...
0
votes
0answers
22 views

free tool for algebraic manipulations of commutator expressions

Is there an (ideally) free tool for algebraic manipulations of commutator expressions of the form: given $$c(A,B):=\tfrac{1}{2}[A,B]+\tfrac{1}{12}[A,[A,B]]+\tfrac{1}{12}[B,[B,A]]$$ simplify (express ...
0
votes
0answers
7 views

Plotting with three y-axes in Maple

To have two y-axes in Maple there is a dualaxisplot command: http://www.maplesoft.com/support/help/Maple/view.aspx?path=plots/dualaxisplot Is there similarly a ...
0
votes
0answers
38 views

MAple 17 won't evaluate my integral

I type this into maple and it won't evaluate it: $$ \int_{0}^{1}\pi ((-y^4+1)^2-(1-y)^2) dy $$ I've also tried $$ evalf(\int_{0}^{1}\pi ((-y^4+1)^2-(1-y)^2) dy)$$ It just returns for both cases $$ ...
1
vote
2answers
43 views

solve recurrence relation: comparisons to construct binary search tree with maple

I would like to solve the recurrence relation for the average number of comparisons necessary to the construction of a binary search tree. the recurrence is $$ i(n) = n - 1 + \frac{2}{n} ...
0
votes
0answers
55 views

Handling complex arguments of elliptic integrals in Maple

I want to solve the integral \begin{equation} I(y)=\int_0^y\sqrt{\dfrac{x(1+ax)}{(1+ax)^2-b^2}}\,\mathrm{d}x,\qquad a<0,\; b\in(0,1),\; y>0,\; (1+ax)^2-b^2>0, \end{equation} using Maple 18. ...
1
vote
1answer
22 views

How to plot the sum of two numerical solutions obtained by Maple?

I have two solutions of nonlinear ODE numerically solved by Maple, and I'd like to add them up to plot it. The third line is obviously wrong, since sol1 and sol2 are data, which cannot be simply added ...
1
vote
1answer
25 views

How to use Maple's LLL Function to Break a Merkle-Hellman Knapsack

This question probably isn't as hard as the title might imply. I'm working on my crypto final project and have decided to use Shamir's method (using the LLL algorithm) to break knapsack using Maple. ...
0
votes
0answers
32 views

probability of collision approximation,matlab,maple

I'm working in the field of communication network. I have this equation p=((1-(1-(((2.*(1-2.p))./(1-p-p.(2.p).^m)).(1./Wi))).^(n-1))) I want to solve for p, but I failed(maple and matlab), can ...
0
votes
1answer
45 views

How do you compute the length of a curve $y^2=x^3 + x^2$

So I came across this question: consider the closed curve C defined by $y^2 = x^3 + x^2\ (-1\le x\le 0)$ i) compute the length of the curve ii) find the area of the surface formed by revolving the ...
0
votes
2answers
55 views

(Maple) Finding the number of terms of the 2014th Term of Fibonacci Sequence

The Fibonacci sequence is defined by F0 = F1 = 1 and Fn = Fn−2 + Fn−1, n ≥ 2. In Maple, we can define the Fibonacci sequence as procedure: F:=proc(n::nonnegint) option remember; if n<2 ...
0
votes
0answers
36 views

Maple problem HELP

I am new to maple and I need help. Let x=x(t) and y=y(t) be functions in t. Suppose that x'=2x−5y+t and y'=4x+9y+sint such that x(0)=y(0)=0. Find y(1). How do I go about doing this question? ...
0
votes
0answers
49 views

Maple, solve coupled differential equation

I'm having trouble getting maple to dsolve this coupled differential equation. When I try to solve it, it gets stuck in evaluation and freezes. Is it possible to get an answer as a real decimal ...
3
votes
1answer
52 views

How simplify and expand work in Maple

When I do: expand(sin(5*u)) (1) The output is: ...
0
votes
2answers
65 views

Difference between two real roots with uniformly distributed coefficents

I have a question that first I need to know what is happening, but then I also need to code it in a program called APPL, which is an extension from Maple18 that I really have never used, yet I have ...
0
votes
0answers
25 views

Verifying the Divergence Theorem with Maple - concrete example

Let $\mathbf{F} = x^2 \hat{i} + y^2 \hat{j} + z^2 \hat{k}$ be the flux outward across the boundary of the solid ellipsoid $x^2 + y^2 + 4(z-1)^2 = 4$. I now want to verify with Maple that the ...
0
votes
0answers
21 views

Export 3d plot in Maple

I have drawn a 3d plot of a sphere in maple, but when I try to export this one in an .eps file, only the coordinate system is shown, but not the colourful plot. The export works if I use jpg and ...
0
votes
1answer
30 views

isolate a term within an equation in maple

This post is inspired by this thread. Is it possible to isolate a specific term within maple? For example I want to find a/b I apologize I don't know how to write equation in this forum? So I just ...
1
vote
1answer
61 views

Drawing a directed graph in Maple

I have been playing around with some Maple today for a semigroup/ graph theory style project. I want to draw a left cayley graph with vertices $\{1,....,12\}$ and edges $[5, 5]$, $\{[6, 2].[7, 1], [1, ...
0
votes
0answers
18 views

Empty result set on `pdsolve` in Maple

I'm trying to solve the following: $$ U_{xy}=\sin (x) \cos (y) $$ given boundary conditions $u_x(y=\frac{\pi}{2})=2x$ and $u(x=\pi)=2 \sin(y)$. I'm feeding these into Maple as follows: ...
0
votes
1answer
48 views

Discrete Log Problem

I've been given this key for an elliptic curve crypto -system: A:=4569782456273849 B:=74578265973825694738 p:=164516845864567592349187678956932587156973824569837657473 So the EC group is ...
1
vote
0answers
44 views

Matrix Multiplication in Maple

I am just trying to do simple matrix multiplication and for some reason the method I am using will not work. I have tried other float values in some matrices and sometimes it works so I'm at a loss ...
0
votes
0answers
22 views

Maple — Lattice Algorithms

Is there any place online where I can find the code for an algorithm which computes the shortest vector in a lattice? The library only includes the algorithm for LLL.
0
votes
2answers
48 views

finding the roots of polynomial of degree 5

I want to find the roots of $f(x)=x^5+(2-4n)x^4-10nx^3+(24n^2-16n-2)x^2+(20n^2-6n-1)x-16n^3+4n^2+4n$ with maple, but with solve(f=0,x); it give me ...
0
votes
1answer
78 views

Complex solutions of equations in Maple

Is it possible to compute all complex solutions of the equation $$ e^z = 1 $$ in Maple? That is, I need Maple print all solutions $z=2\pi k I$. What procedure do I have to use? Thank you very much ...
1
vote
0answers
42 views

Coding for a calculation in differential geometry using Maple

I am beginner in maple. And my field is Differential geometry. I've learnt lie brackets using maple help. But I am testing this calculation through maple. I have these vector fields $e1=z^2\ast ...
1
vote
0answers
43 views

Question about u term in graph-related posts

I am studying the solutions posted by Marko Riedel at http://math.stackexchange.com/questions/689526/how-many-connected-graphs-over-v-vertices-and-e-edges. I am porting some of the techniques listed ...
0
votes
0answers
75 views

Maple produces only errors

I have Maple 18 installed on linux. I've been following the guide and I got to a point where I'm suppose to right click 2*x-9=0 and solve for x. This fairly simple ...
0
votes
1answer
35 views

Differential equation in Maple : No solution on $x = -1 .. 1, y = -1 .. 1$.

Backround: Yesterday in class we had a lab session (practical work ?) on ODE and I have a question. We plot the following contour (I am using maple) implicitplot(H(x, y) = 0, x = -1 .. 1, y = -1 .. ...
2
votes
0answers
56 views

Zeilbergers algorithm in Maple

I try to prove several hard combinatorial identities. One of them is following \begin{align*} \sum_{s=0}^{\min\{k,n-1\}} \sum_{i=0}^{k-s} (-1)^{i} {2n+k-i-1 \choose k-s-i} {i-n \choose s} {n+i-1 ...
1
vote
2answers
45 views

How to generate a sequence in maple based on a condition

I'm supposed to generate a sequence of even numbers from $1$ to $100$ in Maple. While this should be very straightforward, I've tried using both a conditional statement within the $\text{seq}()$ ...
0
votes
1answer
44 views

Plot a set, given in cylindrical coordinates, with Maple and $\text{plot3d}$

I want to plot the set $\phi(A)$ with Maple, where $$\phi:[0,\infty)\times[0,2\pi)\times\mathbb{R}\to\mathbb{R}^3\;,\;\;\;(r,\phi,z)\mapsto(r\cos\phi,r\sin\phi,z)$$ is the transformation in ...
0
votes
1answer
30 views

Initial conditions for differential equation in Maple

The motion of an object is being described by the equation \begin{align*} m\frac{dv(t)}{dt} = mg - \gamma v(t).\end{align*} Determine the solutions of this equation for the paramters: $m=10kg, \gamma ...
1
vote
1answer
89 views

How does Matlab, Maple, etc…solve algebraic and differential equations internally?

I would be very interested finding out how does Matlab, Maple, etc…solve algebraic and differential equations internally? Anyone know how they do it?
1
vote
1answer
35 views

How to return the monomials in a polynomial in Maple?

Are there some function $f$ which returns the monomials in a Laurent polynomial? For example, $f(a_1^{-1}+3b_{2,1})=[a_1^{-1}, 3b_{2,1}]$. Thank you very much.
0
votes
2answers
24 views

Return factors of a monomial in Maple.

Let $$ m = Y_{{1,0}}{Y_{{1,2}}}^{2}Y_{{2,5}}Y_{{1,8}}. $$ Using the function op in Maple, we have $op(m) = Y[1, 0], Y[1, 2]^2, Y[2, 5], Y[1, 8]$. But $op(Y[1,0])=1,0$ and $op(Y[1,0]^2)=Y[1,0],2$. Are ...
1
vote
2answers
44 views

How to compute sum with non consecutive indices in Maple?

Suppose we need to compute the sum in Maple, $ \sum_{i = 0}^{10} 2^i $, We can use the command, sum(2^i, i = 0 .. 10) Now, what if the indices are not ...
0
votes
1answer
29 views

Parametric curves in maple

I know how to plot a parametric curve in Maple (18), but is it also possible to 'define' the parametric equation? I.e. I have to find the intersection of: f:= t-> sin(t); g:= t -> 0.5*sin(2*t); and y ...
0
votes
1answer
39 views

Maple, simplyfing ODEs questions

I'm a novice using Maple 16. I'm using it mostly to check my DE homework solutions. And it happens a lot that I get stuff like in the picture. I mean (if I'm not missing anything important) that ...
1
vote
2answers
76 views

Maple: How do I type “solve” with an arrow under?

I am trying to learn using Maple 18 (Mac). I have defined a function with a list of X and Y values. f := x->LinReg(X, Y, x) Now I would like to output the unknown "x" value that correlates with ...
1
vote
1answer
16 views

MAPLE- Developed in a Fourier Basis - Simplifying commands

After a succession of simplifying commands, I am trying to have a truncated serie Fourier of the expression T3. I get this kind of result T33 : [1] : ...
3
votes
1answer
79 views

Converting large symbolic Jacobian to LaTeX

I have generated an 8x8 Jacobian, containing a few variables and several zeros as elements. I would like to translate this to LaTeX code. How can I first simplify what I have, to make it tractable? ...
2
votes
2answers
38 views

Reading the coefficients with Maple

If I have $$ a+(b-c \cdot a) \cdot x = 5+7x $$ then I know that $$ a = 5 $$ and $$ b-c \cdot a = b-5c = 7 $$ Can I get this result with Maple? If I just write ...
1
vote
1answer
29 views

Order of terms in simple expression in Maple 18

If I write a[n-1] in Maple 18 it changes the output to $a_{-1+n}$ and 4*c[1]-6*c[2] is changed to $-6 c_2+4 c_1$. And this ...
2
votes
1answer
94 views

Solving equation with integer matrices as unknowns

I am currently working on a problem, where I need to know for square integer matrices, $A$ and $B$, whether or not there exists square integer matrices, $X$ and $Y$, such that $X(A-I)Y=B-I$, where $I$ ...
1
vote
1answer
30 views

Is there a way to change default order of series in Maple?

The default order when expanding in the software Maple is 6 (six!!!). This is very awkward and annoying because one rarely need even the second (non-trivial) order. In any case, is there a way to ...
0
votes
1answer
148 views

Maple plotting and loops

I need to plot all of the curves generated using a Maple for loop. As an example, consider the simple loop: ...