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
0answers
118 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
39 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
92 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
1answer
51 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
71 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 ...
3
votes
1answer
159 views

How simplify and expand work in Maple

When I do: expand(sin(5*u)) (1) The output is: ...
0
votes
2answers
75 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
1answer
59 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
164 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, ...
-2
votes
1answer
64 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: ...
1
vote
1answer
55 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
142 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
1answer
46 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
65 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
166 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
81 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
53 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
1answer
56 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
62 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
90 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
82 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
51 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
132 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
65 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
26 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
57 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
70 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
46 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
114 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
21 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
248 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? ...
1
vote
1answer
133 views

Get the closed form of Taylor series with Maple

Is it possible to get the closed form of Taylor series with Maple? The series command can give any given number of terms, but the question is about the closed form ...
2
votes
2answers
47 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
40 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
116 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
36 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
414 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: ...
0
votes
1answer
92 views

Roots of an equation using Maple

I am using Maple to find the roots of a non-linear equation in one variable. When I solve the equation, I get only 2 negative roots whereas if I plot the graph of the function, it also shows that the ...
0
votes
1answer
45 views

Building an nth order ODE in Maple (or Matlab)

The question is simple: given a system of ODEs, how can one construct the equivalent nth order ODE in Maple? In my case I have $$ \begin{cases} y''(t)+x'(t)+x(t)=f(t)\\ y''(t)+z''(t)+z'(t)+z(t)=0\\ ...
-1
votes
2answers
59 views

Why do I keep getting a negative solution in Maple?

I would like to solve a system of 9 nonlinear equations, with the constraints on all 9 variables to be that they are nonnegative. My code is below. ...
1
vote
1answer
185 views

Maple - Substitute into an expression involving derivative

I'm working with some matrices including derivatives like d/dt(x(t)). I need to replace this whole expression {d/dt(x(t))} with something like xdot. I have tried to use "subs", but it seems to refuse ...
1
vote
1answer
119 views

How to solve calculus integration problem using Maple?

May I know if it is possible to solve these problems using Maple? ( I've tried it by hand but I would like to know if there are alternatives) In triangle ABC, M is the point on BC such that the ...
1
vote
3answers
55 views

Is this power rule true for the natural base?

Two questions 1) I was wondering if $e^{k \ln{x}}=k$ for any k. Is it? 2)To test I went to Maple and typed e^-ln(x) and it gave $e^{-ln(x)}$. I tried simplify and ...
0
votes
1answer
140 views

How to do this in maple?

1.Sexy primes are prime numbers that differ from each other by six. For example, the first 5 sexy prime pairs are (5, 11), (7, 13), (11, 17), (13, 19), (17, 23). Find the number of sexy prime pairs ...
1
vote
1answer
48 views

Сombinatorial identity

I try to prove the following hypothesis $$\sum_{i=0}^k \frac{(-1)^i (n+i-1)(n+k-2)!}{i!(k-1)!(n-1)!}{{n+2k-i-1} \choose {2k}}=\frac {{n+k-1\choose k}{n-2+k\choose k}}{k+1}.$$ In the Maple: gip:=proc ...
1
vote
2answers
55 views

Maple differentiation syntax?

If you have assigned a function to a label, how can you take it's derivative? For example I defined fun2 as $x^3$ but doing ...
0
votes
2answers
61 views

Can anyone show me the starting step for this question?

Let $x = x(t)$ and $y = y(t)$ be functions in $t$. Suppose that $x′ = 2x − 5y + t$ and $y′ = 4x + 9y + \sin t$ such that $x(0) = y(0) = 0$. Find $y(1)$ This is my first time using maple.I know how to ...
1
vote
0answers
72 views

solve complicated system of non-linear equations numerically

I have two algebraic equations I am trying to solve in MAPLE. They are: $14\,{a}^{26}{b}^{2}-91\,{a}^{24}{b}^{4}-364\,{a}^{22}{b}^{6}-1001\,{a} ...
-1
votes
1answer
546 views

Solving symbolic linear equations with maple

How can I solve linear equations of the following type in Maple? $$\begin{pmatrix} 1 & 1 & 1 & 1\\ b-c & c-b & a-b &0 \\ b-d & d-a & 0 &a-b \end{pmatrix} ...
0
votes
1answer
55 views

Maple command for finding specific values that will make an inequality true

Is there a Maple command for finding specific values that will make an inequality true? For instance, if the input is $a<b,$ a possible output would be $a=1,b=2.$