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
1answer
28 views

Assign variables in Maple

I have an equation $$ y = 2 x+400 $$ Can I with Maple multiply the slope ($\alpha=2$) with a factor $k$ without affecting the intersection ($\beta = 400$)? Can I eventually let Maple assign ...
1
vote
1answer
56 views

The derivative of piecewise-defined function gives undefined in knot point

I have defined a (rather simple) piecewise-defined function in Maple. But when I am finding the derivative to the piecewise-defined function, it suddenly sets the 'knot point' as undefined even ...
0
votes
1answer
58 views

Draw multiple plots in same plot with Maple

I have a procedure in Maple ...
2
votes
1answer
94 views

Plotting Intersecting 3D Regions in Maple

I am brand spanking new to Maple (just downloaded tonight) and I'm also taking a course in multivariable Calculus. One of the reasons I downloaded Maple was because I'm having an extremely difficult ...
1
vote
2answers
58 views

Maple not able to calculate Bernstein polynomial

Hope you can help me on this one. Please look at this simple Maple code: Obviously $B(1)=g(1)=4 \neq 0$. Why is Maple not able to compute this right? Am I doing something wrong? Kind regards PS: ...
3
votes
1answer
115 views

PDE: solving Fokker-Planck equation with initial and boundary condition

Here is the problem. We have the following simple PDE: \begin{equation} \frac{\partial p(x,t)}{\partial t}= - a\frac{\partial p(x,t)}{\partial x} + \frac{D}{2} \frac{ \partial^2 p(x,t) }{\partial ...
1
vote
2answers
58 views

Spacecurve of intersection between surfaces

Problem The spacecurve of intersection between the surfaces $opp$ & $\alpha$ (above z=3) has to be found, i.e. the intersection of the blue and green surface, above the red pane (z=3). Plots ...
0
votes
1answer
60 views

In Maple, how can I partially factor a lengthy symbolic expression (23 terms in 6 variables)?

I need to show that the following expression, $$a^3b-a^3c+a^3z+a^3x+a^3y-a^2bx+a^2by+a^2cx-a^2cy-a^2zx+a^2zy-a^2x^2+a^2y^2-abcz-abcx-aczx-acx^2+b^2c^2+2bc^2x+c^2x^2-b^2c-2bcx-cx^2,$$ is positive ...
0
votes
2answers
37 views

Function in Maple giving weird plots

In Maple I have defined a function If I plot within $Q \in [0,100]$ I get but I get the exact same plot with other boundaries and if I use $Q \in [0, 10^{-10}]$ I get How can this happen? ...
0
votes
0answers
29 views

Riemann Tensor in Particular Frame

I'm trying to reproduce a calculation which requires computing the Riemann tensor in a particular frame specified by some vierbein $e_a$. I have a complete expression for the spacetime metric in some ...
1
vote
0answers
95 views

system of non-homogeneous advection equations

I would like to solve this system \begin{equation} \left\{ \begin{array}{lll} u_t+b_1 u_x=(r+l_1)u-l_1v,\\ v_t+b_2 v_x=(r+l_2)v-l_2u,\\ \end{array} \right. \end{equation} First , I would like to ...
1
vote
1answer
28 views

Problem with integrating to find volume

I want to calculate the volume of the hyperboloid between the two planes: $hyp:{x}^{2}+1/4\,{y}^{2}-{z}^{2}=5$ $plane1:=z+x/2+3=0$ $plane2:=z+x/2-3=0$ Because of symmetry, I confine my bounds to ...
0
votes
1answer
45 views

How do I display this quadric (in $\mathbb{R}^3$) in maple?

$x^2+y^2+z^2+2xy+2xz+2yz-x-y-z=6$ I'm struggling to draw a quadric in maple. I've tried the plot and plot3d functions, but it didn't work.
2
votes
1answer
38 views

how to get maple to do linear algebra in Z_2 (integers modulo 2)

how to get maple to do linear algebra in Z_2 (integers modulo 2) I don't want it to solve and then reduce mod 2 I want it to work over Z_2 so basis([ [1,1,1], [1,-1,1 ]) = [1,1,1] If this is ...
1
vote
1answer
35 views

Maple Help format output collect terms with same coefficients and multiple variables

I realize this may have been asked before, however I have no idea what to search for specifically, since the topic is so generic it returns so many results that I cannot find what I am looking for. ...
0
votes
1answer
30 views

How to create lattice diagrame in maple 14?

I am studying lattice diagrame of subgroups of groups and I have already posted one query over here. Now my present query is: I am using MAPLE 14. Can anyone suggest me how to create lattice ...
0
votes
1answer
63 views

A problem with Maple Polynomial Curve Fitting

I've been encountering a problem while trying to use the method of least squares to fit a quadratic polynomial. Below is the question 1) Use the method of least squares to fit a quadratic polynomial ...
0
votes
2answers
78 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
97 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
35 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
75 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
68 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
118 views

How simplify and expand work in Maple

When I do: expand(sin(5*u)) (1) The output is: ...
0
votes
2answers
73 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
50 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
133 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
57 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
112 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
39 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
63 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
146 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
72 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
51 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
54 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
61 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
69 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
76 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
46 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
122 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
56 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
55 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
62 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
42 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
106 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
20 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
199 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
97 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 ...