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
8 views

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

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
20 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
6 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 ...
1
vote
2answers
42 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
37 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 $$ ...
0
votes
2answers
500 views

Using Maple to numerically find the unique extremum (“turning point”) of a given function

Given $$ f(x) = 5\sin\left(\frac14 x^4\right) -\sin\left(\frac12 x\right)^4 $$ Find, to 10 significant figures, the unique turning point of x[0] in the interval [1,2]. Also, I've got to get ...
0
votes
0answers
50 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
21 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
22 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
44 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
54 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 ...
6
votes
3answers
447 views

How to draw heart shape using Maple

I'm drawing a heart shape using Maple, but the heart-shaped curve is broken. Please hint to me how to draw it correctly.
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
47 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
49 views

How simplify and expand work in Maple

When I do: expand(sin(5*u)) (1) The output is: ...
0
votes
2answers
64 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
47 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 ...
0
votes
0answers
23 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
19 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
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 ...
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
59 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
17 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
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
21 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
3answers
6k views

Degrees and radians in Maple [closed]

Does Maple give the possibility to switch between degrees and radians while making calculations? If so, how do you switch?
0
votes
2answers
45 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 ...
1
vote
0answers
40 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
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 .. ...
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 ...
2
votes
0answers
55 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}()$ ...
1
vote
2answers
82 views

How to plot two unknowns in maple 14?

This doesn't works in Maple 14. Why? How can I plot this function? $$\text{plot}\left(\frac{x^2 \cdot y^2}{x^2+y^2},x,y = -\infty .. \infty\right);$$ Here's the original function (where is it ...
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 ...
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
1answer
85 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.
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$ ...
0
votes
1answer
48 views

Specifying variables in Maple

Two questions 1)How do you express Euler's number (≈2.718) in Maple. For example I want ln(e) to simplify to 1. 2)How do you have a constant with a subscript? For example if I wanted to input the ...
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 ...
1
vote
2answers
43 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
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
1answer
731 views

Maple find the stationary points

For the long equation: $$f = \frac{384x^8-2,304x^7-2,624x^6+41,568x^5-63,693x^4-118,309x^3+418,032x^2-405,405x}{3,072x^2+9,216}$$ I have to find the stationary points in maple between the interval ...
1
vote
1answer
176 views

Solving Poisson Equation Finite-difference using maple

How do I solving Poisson Equation Finite-difference using maple consider Poisson equation $$\frac{\partial^2u}{\partial x^2} (x,y)+ \frac{\partial^2u}{\partial y^2} (x,y) = x*e^y$$ $0<x<2$ ...
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? ...
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] : ...
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 ...