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
440 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
225 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
3answers
462 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
479 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
517 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
483 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
976 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
447 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
213 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
100 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
411 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
77 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
67 views

How simplify and expand work in Maple

When I do: expand(sin(5*u)) (1) The output is: ...
3
votes
1answer
94 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
1answer
151 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
211 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
311 views

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

Is it correct that they use a matrix transformation?
3
votes
0answers
98 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
383 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
80 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
159 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
706 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
481 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
53 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
100 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
163 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
237 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
153 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
4answers
123 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
2answers
514 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
75 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
54 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
71 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
976 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
348 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
190 views

What's wrong with my writing in Prem algorithm?

Solved by fixing program I discover lead coefficient should include other variables now it stop infinite loop but result not correct i am near the answer $yz^6+2y^2z^4+5y^3$ the difference is my ...
2
votes
2answers
39 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
219 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
38 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
87 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
871 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
1k 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
189 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
902 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
27 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 ...
2
votes
1answer
97 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
56 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
2answers
65 views

What is the algorithm for the “Shorten” command in Maple?

There is a package in Maple called "PolynomialTools". That has a command "Shorten". Does anybody know on what algorithm this is based. The maple manual does not explain much. Example: ...
2
votes
1answer
61 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 := ...