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

8
votes
3answers
276 views

is there a name for this function (parity of a finite sequence)?

Variants of this question have been crossposted to Stack Overflow and Computational Science Stack Exchange. Additional answers may be found at these other sites. Math people: In an attempt to ...
6
votes
1answer
205 views

Is correcting 2 consecutive error's in 9 messages from $ GF(2^6) $ by turning tham into 3 messages and solving Reed-Solomon code $ (3, 18) $ possible?

2 consecutive messages have errors. We have 9 messages from $ GF(2^6, x^6+x+1) $. Messages were encoded with $ (x+1)(x+a)(x+a^2)\sum_{i=1}^6X_ix^{i-1}=\sum_{l=1}^9Y_lx^{l-1} $ , where $ ...
6
votes
2answers
208 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.
5
votes
2answers
268 views

Maple gives phantom solution to inequalities

I'm trying to get maple to solve some inequalities for me, and in particular to tell me when they have no solution. Unfortunately, it does not seem to be doing what I expect. The following ...
4
votes
3answers
294 views

How to compute Nullspace on maple?

I have the matrix $$A := \begin{bmatrix}6& 9& 15\\-5& -10& -21\\ 2& 5& 11\end{bmatrix}.$$ Can anyone please tell me how to both find the eigenspaces by hand and also by using ...
4
votes
2answers
707 views

Maple: how to solving composite function

Here is just an simple example that I want to use Maple to solve: $$h(x)=f(g(x))$$ $$g(x)=2x+1$$ $$h(x)=4x^2+4x+7$$ Find polynomial of $f(x)$ Thanks :)
4
votes
2answers
334 views

Has anyone published a formula for the volume of the intersection of two balls

Math people: I have Googled this question and searched Math Stack Exchange, and not found an answer. Given $r_1, r_0, t >0$, $r_0 \leq r_1$ I have found a formula for the volume of the ...
3
votes
1answer
375 views

How to use Maple derive the 4th central moment for this distribution?

Let $X_i$ be a random variable, and the probability density function of X_i is $$P(X_i=k)=\frac{{k-1 \choose i-1}{m-k \choose n-i}}{m \choose n}$$ For more about the distribution, please refer to ...
3
votes
1answer
146 views

which algorithm do maple use to calculate summation from zero to infinity

when calculating generating function, there is a need to do summation of , summation(f(x)*z^n/n!, n=0..infinity) what algorithm do maple use to do this awesome ...
3
votes
1answer
216 views

How does Matlab or computer algebra systems find derivatives of functions?

Is it correct that they use a matrix transformation?
3
votes
1answer
210 views

Laguerre polynomials and least squares polynomial

A similar question from Orthogonal polynomials and Gram Schmidt says: Use the Laguerre polynomials, i.e, $L_1(x)=x-1$,$L_2(x)=x^2-4x+2$, and $L_3(x)=x^3-9x^2+18x-6$, to compute the least squares ...
3
votes
0answers
48 views

Algorithm for generating random regular graphs in Maple

In Maples package RandomGraphs, there is a method called RandomRegularGraph(n,d) which takes a number of vertices $n$ and a degree $d$ and returns a random $d$-regular graph on $n$ vertices. Does ...
3
votes
0answers
129 views

Trying to solve Navier equations with Maple

I've been trying for ages now to get this to work, it's a system of partial differential equations (Engineering, Plate theory) $$pde1: = \frac{{{\partial ^2}}}{{\partial {x^2}}}u\left( {x,y} \right) ...
2
votes
4answers
265 views

How can I change background color of plot in maple?

Please help me, I have two functions: a := x^3+x^2-x; b := 20*sin(x^2)-5; and I would like to change a background color and fill the areas between two curves. ...
2
votes
2answers
322 views

Visualization of Cantor set by Mathematica or Maple!

We all know what it is the Cantor set. The Cantor set is created by repeatedly deleting the open middle thirds of a set of line segments. One starts by deleting the open middle third $(\frac{1}{3}, ...
2
votes
3answers
70 views

Use I as an variable in Maple

I want to declare a function I(t), but Maple interprets I as the imaginary unit. Can I use a Maple command to assume I is an variable? I've looked in the manual, but I can't seem to find a solution.
2
votes
3answers
62 views

Domain of Composite Functions by using Maple

I have two functions $f(x)=\frac{(x+1)}{(x-1)}$ and $g(x)=\frac{(x-1)}{(x+1)}$. I need to confirm by using maple that $D_{fog}=R-\{-1\}$ and $D_{gof}=R-\{0,1\}$. When I try f@g and g@f syntax im ...
2
votes
1answer
60 views

Can wolfram alpha compute symbolic vector derivatives

Can Wolfram alpha be used to find out say $$\nabla_x\left(\|y-Ax\|_2\right)$$ What command do I use? I tried some obvious ways, and googled a bit, but didn't find anything.
2
votes
2answers
127 views

Why maple computes $\prod_{k=3}^{\infty} \cos \left(\frac{\pi}{k}\right)$ as $0$?

I have computed the infinite multiplication using Maple, $\Pi_{k=3}^{\infty} ( \cos (\frac{\pi}{k} ))$, as follows, but it resulted in 0! I wonder why this happened, although maple was using exact ...
2
votes
1answer
1k views

A series solution of the differential equation: $\frac{d^2u(x)}{dx^2}+ u(x)^n = 0.$

Consider the differential equation $\frac{d^2u(x)}{dx^2}+ u(x)^n = 0.$ Let the solution be $u(x) = u_0(x) + p u_1(x) + p^2u_2(x) + \cdots +p^m u_m(x).$ Now we are interested in substituting the ...
2
votes
2answers
22 views

maple evaluate function of variables containing x

Well this is basically the problem. I want to evaluate a function but the variable x is defined inside a, so for some reason maple doesn't substitute 7 for x.
2
votes
2answers
34 views

How to plot a surface in maple where the range is given by an expression, not constants?

Im trying to plot the surface $z=(1+x^2)/(1+y^2)$ , but specifically the part of the surface that is above $|x|+|y|\leq1$. Cant seem to find any information on how to produce a plot in maple, where ...
2
votes
2answers
226 views

Finding relative extreme points and saddle point (Maple)

Searching the site, I have found some problems related to my question, for example this one. But, I want to know how to make codes in Maple to find these points. I could make the following codes as ...
2
votes
1answer
203 views

Finding inverse of a function that is mixture of exponentials

How can we find the inverse of this function? $$y=\exp(ax)+\exp(bx),$$ where $a$ and $b$ are constants
2
votes
1answer
15 views

Inserting Maple worksheet commands [on hold]

In Maple, it's very easy to delete a line or command in a worksheet (cmd-backspace), but how would I insert a line in the middle of a worksheet? Thanks, -GW
2
votes
2answers
184 views

How to define a recurrence relation in Maple?

I'm new with Maple and want to define a recurrence relation. I want to 1) have Maple solve it to the explicit formula 2)have Maple output a few evaluations of it for various values of ...
2
votes
1answer
70 views

removing items from a list in maple based on another list

So I am new to maple and need to write a procedure that given one list removes the entries of that list from another. ...
2
votes
1answer
406 views

Is the vector in the span?

I have to show that $a_4$ is in the span of the other 3 vectors $a_1,a_2,a_3$ \begin{bmatrix} 2 &1 & 3\\ 3 & -1 & 4 \\ 1 & 2 & -1 \\ 4 & 4 & 3 \\ ...
2
votes
1answer
498 views

Symbol for derivative in MAPLE

I am trying to use MAPLE to do some computations involving system of equations which terms are derivatives of functions. When I type diff(alpha(x),x) it shows ...
2
votes
1answer
163 views

Numerical solution of fractional integro-diffrential equ. using collocation method?

problem comes from "Numerical solution of fractional integro-differential , equations by collocation method , E.A. Rawashdeh, Department of Mathematics, Yarmouk University, Irbid 21110, Jordan" ...
2
votes
2answers
591 views

Generating random array in Maple

I'm trying to do simulation in Maple, but I can't figure out how to do the following: How does one generate a set of random whole numbers in an array of 24 element (in 1 column) where the sum of the ...
2
votes
1answer
44 views

Plotting this quadratic residue program results in a point plot

I recently wrote a program for quickly finding quadratic residues in Maple; quadres := proc (n::posint) global k, L, Sorting; Sorting := proc (X) global Y, i, j, z; Y := ...
2
votes
1answer
82 views

Finding gcd of polynomials with extra parameter in Maple

My problem is that I have two functions in two variables, say $x$ and $y$. The functions are both polynomials in $x$, but sometimes $y$ appears in an exponent. What I want to do is find the gcd of ...
2
votes
4answers
80 views

How can we know the range of linear map?

If we have a linear map A, that is Ax=y, then certainly that A has a domain and range, so my question is: how can we know what the domain and the range of the linear map A are? and, How can we find ...
2
votes
1answer
44 views

Maple simplification incorrect?

I'm using Maple 16 to help me in some tedious computations. I wanted to evaluate the following thing: $\sum_{i=1}^k\left(\left(\frac{1}{2}\right)^{l+i-1}\cdot\binom{l+i-2}{i-1}\cdot(k-i+2)\right)$ ...
2
votes
1answer
708 views

How to draw heart shape (3D) using Maple

I'm drawing a heart shape (3D) using Maple, but I think it is not correct. Please hint to me how to draw it correctly. with(plots); implicitplot3d((2*x^2+y^2+z^2-1)^3-(1/10)*x^2*z^2-y^2*z^3, ...
2
votes
2answers
118 views

Self-intersection of vector valued function

A vector valued function $r(t)$ has the following coordinates: $$x = 4\cos\left(\frac12t\right)+2\cos(2t)+\cos(4t)\\ y = 4\sin\left(\frac12t\right)+2\sin(2t)+\sin(4t)$$ I have to find the $t$-values ...
2
votes
1answer
69 views
2
votes
2answers
112 views

ODE-system solving with initial conditions (Maple)

This is my problem: I have to solve a differential-equation-system, and then to plot the results. The system is : { S'=-r*S*J, J'=r*S*J-a*J, R'=a*J }. It's about epidemiology, S, J, and R are ...
1
vote
1answer
223 views

Numerical values of the Jacobi elliptic function sn: Wolfram Alpha vs. Maple vs. C++?

I have a problem to check the validity of an algorithm I've implemented in C++ to compute the Jacobi elliptic function $\mathrm{sn}(u, k)$ (inspired and improved from Numerical Recipes 3rd edition). I ...
1
vote
2answers
43 views

Plotting function with 2 variables within constraints

I have a function of two variables: With some values Now I have to plot this, so that tha values of U are between -5 and 0. How do I do this? (Note: It's not the values of x and y that need to be ...
1
vote
2answers
113 views

find the largest perfect number less than $10,000$ in Maple

Can anyone tell me how to find largest perfect number less than 10000 in maple? Actually, I know how to find all the perfect numbers less than or equal to 10000 but I don't know how to find the ...
1
vote
2answers
51 views

In maple how do you evaluate combinations?

In Maple how do you have it evaluate combinatorics such as $\binom{5}{2}$ and give you the answer 10? (What is the name of what I want to do anyways, is it evaluate?) Thanks. Seems so easy now that I ...
1
vote
2answers
51 views

Maple Conversion Command

I am aware Maple has many commands of the form convert(a,b), where $a$ is usually an expression and $b$ can be a lot of different things, such as ...
1
vote
2answers
201 views

CAS for algebraic geometry, which one?

I use Maple to compute Groebner bases and find it very efficient/fast for my current needs. However, several introductory textbooks on algebraic geometry refer to Singular, which I never used before. ...
1
vote
3answers
75 views

Mirror a function about y axis

I have a piecewise function from -1 to 0 in Maple, and I want somehow get a mirror piecewise function about y axis, just like here: Is there any bult-in function for that?
1
vote
2answers
175 views

How to compute the the basis of the Null space in Maple

Can any one tell me how to find the basis for the Null space of a matrix A in Maple? I mean, If A is any Matrix of real numbers, then I want to compute the basis of the subspace Null(A). Thanks to ...
1
vote
1answer
97 views

Simplify a recursive function in Maple

I have the following problem. Out of the runtime analysis of an divide and conquer algorithm I got the following formula for the necessary flops: ...
1
vote
2answers
64 views

Is $\frac{1}{(\textrm{can}-a-b\cdot i)^2}-\frac{1}{(\textrm{can}+\textrm{cod}-a-b \cdot i)^2}$ in any way simplifiable with Maple?

So I wonder if Maple can reduce such lines like $$\frac{1}{(\textrm{can}-a-b\cdot i)^2}-\frac{1}{(\textrm{can}+\textrm{cod}-a-b \cdot i)^2}$$ (assuming all variables but $i$ are real)?
1
vote
3answers
159 views

How to find the $n^{th}$ digit (in Maple)

Given a number, such as $5^{9^6}$, how would I find the $n^{th}$ digit? (say the $87^{th}$ digit) I considered the "Digits" command, but that only controls the amount of digits after the decimal, so ...