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

Error in Maple: “Error, (in prg) illegal use of a formal parameter” [on hold]

I'm trying to create a Maple procedure (call it prg) which takes a positive integer and return a list containing its digits in reversed order. For instance, prg$(3112) \rightarrow [2,1,1,3]$. Here's ...
0
votes
3answers
32 views

How to set a function value or expression over a domain in Maple

I have a function $f(x,y,z)$ and would like to impose the condition $$f(x,y,z)|_{x^2+y^2<1}=x-y$$ That is, $f$ is set to be equal to $x-y$ within the unit circle in the xy-plane. How would I ...
0
votes
1answer
27 views

Problem with initial conditions and partial differential equations in Maple

I am new to Maple, trying to see how do I add initial conditions to a system of partial differential equations. Here is an example problem, which has some error in it. What is wrong? This appears on ...
0
votes
1answer
18 views

Problem with initial conditions in Maple

I am new to Maple, trying to see how do I add initial conditions to a system of differential equations. Here is an example problem, which has some error in it. What is wrong? This appears on the ...
0
votes
0answers
7 views

how to fix a state to configure expected eigenvector

using Gleason Theorem , Trace(wE) is state, w = Summation of rP where P is projection matrix, and summation of r = 1 it sounds fix state need to change E or w, how to change in real practice? does ...
1
vote
0answers
20 views

how to construct a differential equation or differential system which fit with eigenvectors

reference from How are eigenvectors/eigenvalues and differential equations connected? Let $$X(t) = \sum \limits _{k=1} ^n c_k \Bbb e ^{\lambda _k t} V_k .$$ Is there any method to construct a ...
0
votes
1answer
17 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
31 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
29 views

Draw multiple plots in same plot with Maple

I have a procedure in Maple ...
2
votes
1answer
42 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
52 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
70 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
54 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
54 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
28 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
24 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
57 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
27 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
0answers
33 views

How to scale x- and y- axes equally in Maple?

I have the ellipse $\frac{25}{36}x^2+\frac{5}{36}y^2=1$. Maple draws it as a circle: How can I change the coordinates, to make it look like an actual ellipse?
0
votes
1answer
40 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.
0
votes
0answers
12 views

Solving equations in Maple, with parameters in a certain domain

I am interested to solve an equation in $z$, depending on parameters $x>0$ and $n\in\mathbb{N}$: Define $H(x,z)=\sqrt{1-4xz}$ and $$G(z)=\frac{1}{1-x-z}-\frac{1-H(x,z)}{2zH(x,z)-H(x,z)+H(x,z)^2}$$ ...
2
votes
1answer
28 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
15 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
20 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
37 views

Maple: expanding polynomial not working [closed]

I need to get this: But I get this: Cant get the x^3 which I need. Will someone help please?
0
votes
1answer
31 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
0answers
28 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
57 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
59 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
75 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
28 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
47 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
37 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
48 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
61 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
78 views

How simplify and expand work in Maple

When I do: expand(sin(5*u)) (1) The output is: ...
0
votes
2answers
67 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
33 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
1answer
38 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
94 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
23 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
50 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
61 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
35 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
54 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
91 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
60 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
44 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
86 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
47 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 .. ...