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
375 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
217 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
322 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
392 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 ...
5
votes
2answers
421 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 ...
4
votes
3answers
406 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
904 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 :)
3
votes
7answers
300 views

Best Math Plotting Software for Electrical Engineering

I am an electrical engineering undergrad. I would like to learn a math plotting software which would be helpful in visualizing topics in advanced calculus (my immediate need). It would also be helpful ...
3
votes
2answers
178 views

Strange behavior when graphing a function (Maple)

I was doing a presentation on Limits and I was using this $$f(x)=\frac{x^2+2x-8}{x^2-4}$$ to explain different types of limits. I know that the function is not defined at $x=-2$ or $x=2$. I showed ...
3
votes
2answers
69 views

Coding in Maple

I am trying to animate a sequence of functions in Maple and I am stuck on how to do so. This is what I have so far ...
3
votes
1answer
400 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
65 views

Integration: $\frac{2}{\pi} \int_0^\pi \frac{\sin(nx)}{10}x(\pi-x) \mathrm{d}x$ Can someone matlab/mathematica/maple it for me?

I want to compute $\frac{2}{\pi} \int_0^\pi \frac{\sin(nx)}{10}x(\pi-x) \mathrm{d}x$, where $n=1,2,3,4,\dots$ I worked this by hand and got the result: $-\frac{4\cos(nx)}{10n^3\pi}$ To check my ...
3
votes
1answer
140 views

How to evaluate the integral $\int_{1}^{\infty} x^{-5/3} \cos\left((x-1) \tau\right) dx$

I would like to evaluate the following integral: $$\int_{1}^{\infty} x^{-5/3} \cos\left((x-1) \tau\right) dx$$ I get the Integral by Maple and it gives the Lommel function. After that, I will search ...
3
votes
1answer
170 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
285 views

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

Is it correct that they use a matrix transformation?
3
votes
0answers
30 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? ...
3
votes
0answers
83 views

Maple code to Latex file

I am writing a project in Latex and have been using Maple to help calculate various things. I want to copy the code in maple and put it into the Latex file so it will still maintain the maple style ...
3
votes
1answer
326 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
72 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
147 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
486 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
403 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
2answers
49 views

Help finding a summation using CAS

While approximating an integral by midpoint rule, I ended up with $$\iint_R f(x, y)\hspace{1mm}dA\approx \dfrac{1}{n^2}\sum_{i=0}^{n-1}\sum_{j=0}^{n-1} f\left[\dfrac{1}{2n}+\dfrac{i}{n},\hspace{3mm} ...
2
votes
3answers
86 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
110 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
150 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
143 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
2answers
393 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
2k 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
3answers
58 views

Factoring in Maple

I am currently working on writing a procedure in Maple. What I need to be able to do is factor a number. The few commands I know to help with this are; ifactor(12); ...
2
votes
2answers
41 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
58 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
599 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
287 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
2answers
33 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 ...
2
votes
1answer
64 views

Generating Matlab Code using Maple

When exporting Matlab Code from Maple using for example the command fprintf(FileName, %s, CodeGeneration[Matlab](VariableName, output = string)) I get the text ...
2
votes
1answer
27 views

Inserting Maple worksheet commands [closed]

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
1answer
79 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
660 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
845 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
181 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
736 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
51 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$ ...
2
votes
1answer
50 views

How to solve a first order partial differential equation?

I have a first order pde ($P_{14}$ is the unknown function in $a, b, a_1, b_1$): \begin{align} & -\frac{a}{a_1} \frac{\partial P_{14}}{\partial a} - \frac{a b}{a_1 b_1} \frac{\partial ...
2
votes
1answer
57 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
2answers
258 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 ...
2
votes
1answer
101 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
98 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
52 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
1k 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, ...