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
vote
1answer
37 views

Order of terms in simple expression in Maple 18

If I write a[n-1] in Maple 18 it changes the output to $a_{-1+n}$ and 4*c[1]-6*c[2] is changed to $-6 c_2+4 c_1$. And this ...
2
votes
1answer
115 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$ ...
1
vote
1answer
35 views

Is there a way to change default order of series in Maple?

The default order when expanding in the software Maple is 6 (six!!!). This is very awkward and annoying because one rarely need even the second (non-trivial) order. In any case, is there a way to ...
0
votes
1answer
344 views

Maple plotting and loops

I need to plot all of the curves generated using a Maple for loop. As an example, consider the simple loop: ...
0
votes
1answer
88 views

Roots of an equation using Maple

I am using Maple to find the roots of a non-linear equation in one variable. When I solve the equation, I get only 2 negative roots whereas if I plot the graph of the function, it also shows that the ...
0
votes
1answer
43 views

Building an nth order ODE in Maple (or Matlab)

The question is simple: given a system of ODEs, how can one construct the equivalent nth order ODE in Maple? In my case I have $$ \begin{cases} y''(t)+x'(t)+x(t)=f(t)\\ y''(t)+z''(t)+z'(t)+z(t)=0\\ ...
-1
votes
2answers
55 views

Why do I keep getting a negative solution in Maple?

I would like to solve a system of 9 nonlinear equations, with the constraints on all 9 variables to be that they are nonnegative. My code is below. ...
1
vote
1answer
149 views

Maple - Substitute into an expression involving derivative

I'm working with some matrices including derivatives like d/dt(x(t)). I need to replace this whole expression {d/dt(x(t))} with something like xdot. I have tried to use "subs", but it seems to refuse ...
1
vote
1answer
113 views

How to solve calculus integration problem using Maple?

May I know if it is possible to solve these problems using Maple? ( I've tried it by hand but I would like to know if there are alternatives) In triangle ABC, M is the point on BC such that the ...
1
vote
3answers
55 views

Is this power rule true for the natural base?

Two questions 1) I was wondering if $e^{k \ln{x}}=k$ for any k. Is it? 2)To test I went to Maple and typed e^-ln(x) and it gave $e^{-ln(x)}$. I tried simplify and ...
0
votes
1answer
136 views

How to do this in maple?

1.Sexy primes are prime numbers that differ from each other by six. For example, the first 5 sexy prime pairs are (5, 11), (7, 13), (11, 17), (13, 19), (17, 23). Find the number of sexy prime pairs ...
1
vote
1answer
48 views

Сombinatorial identity

I try to prove the following hypothesis $$\sum_{i=0}^k \frac{(-1)^i (n+i-1)(n+k-2)!}{i!(k-1)!(n-1)!}{{n+2k-i-1} \choose {2k}}=\frac {{n+k-1\choose k}{n-2+k\choose k}}{k+1}.$$ In the Maple: gip:=proc ...
1
vote
2answers
54 views

Maple differentiation syntax?

If you have assigned a function to a label, how can you take it's derivative? For example I defined fun2 as $x^3$ but doing ...
0
votes
2answers
60 views

Can anyone show me the starting step for this question?

Let $x = x(t)$ and $y = y(t)$ be functions in $t$. Suppose that $x′ = 2x − 5y + t$ and $y′ = 4x + 9y + \sin t$ such that $x(0) = y(0) = 0$. Find $y(1)$ This is my first time using maple.I know how to ...
1
vote
0answers
68 views

solve complicated system of non-linear equations numerically

I have two algebraic equations I am trying to solve in MAPLE. They are: $14\,{a}^{26}{b}^{2}-91\,{a}^{24}{b}^{4}-364\,{a}^{22}{b}^{6}-1001\,{a} ...
-1
votes
1answer
417 views

Solving symbolic linear equations with maple

How can I solve linear equations of the following type in Maple? $$\begin{pmatrix} 1 & 1 & 1 & 1\\ b-c & c-b & a-b &0 \\ b-d & d-a & 0 &a-b \end{pmatrix} ...
0
votes
1answer
52 views

Maple command for finding specific values that will make an inequality true

Is there a Maple command for finding specific values that will make an inequality true? For instance, if the input is $a<b,$ a possible output would be $a=1,b=2.$
1
vote
1answer
37 views

Maple not displaying graph

Maple is only producing a description of a graph, e.g. C := Graph 9: an undirected unweighted graph with 66 vertices and 219 edge(s), rather than displaying the graph. Can anyone please help? ...
0
votes
1answer
86 views

Plot zeros of partial sum of zeta Riemann with Maple

I want to plot the zeros of the partial sum of the Riemann zeta function with Maple. Some hint?? Thanks!!!
0
votes
1answer
155 views

Using Maple to find the normal vector

I'm trying to find the normal vector to the level surface $xyz = 1$ at an arbitrary point $(a, b, c)$ ...
3
votes
1answer
88 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 ...
0
votes
2answers
259 views

Plot the graph of a discontinuous function of two variables using Maple

I want to plot the level curve of $xyz = 1$; According to wolfram alpha the plot should look like this; But instead I end up with; Here's my Maple code. I'm sure it's because the function is ...
0
votes
2answers
63 views

What's the easiest way to approximate an answer to n places after the decimal?

Say you wanted a decimal answer. How do you get one? I know evalf() can be used but it counts ALL digits, not just after the decimal. For example evalf(19/4, 2) gives 4.8 but I'm looking for a ...
0
votes
1answer
103 views

Use the pseudoinverse to find the conic section of best fit to the data

I am working on a group project and none of us can figure out how to find the answer. Our professor insists that all of our work be done in maple. The problem is: Use the pseudoinverse to find the ...
0
votes
1answer
202 views

Using the pseudoinverse to find the linear combination of functions?

I'm working out this problem with a friend of mine on a group project and we are both stuck Our professor insists that we do all of our work in Maple. I like Maple, but it's not as great as ...
0
votes
1answer
62 views

Specifying variables in Maple

Two questions 1)How do you express Euler's number (≈2.718) in Maple. For example I want ln(e) to simplify to 1. 2)How do you have a constant with a subscript? For example if I wanted to input the ...
1
vote
0answers
46 views

simplex in MAPLE

I am trying to solve a large system of linear inequalities (about 500 variables) subject to the nonnegativity condition on the variables.Call this system500 for future reference. I do not need to ...
1
vote
1answer
92 views

maple plot of Belyi function

I would like to understand how to construct Figure 5 of the paper Composition is a generalized symmetry by Alexander Zvonkin: The hypermap/dessin d'enfant of Figure 4 is while the Belyi function ...
0
votes
1answer
131 views

Best program for multiplying many multivariable polynomials

I want to make a table with two columns: The first column will consist of many(possibly hundreds) of polynomials in two variables. The second column will be a function applied to all of the ...
1
vote
2answers
53 views

Maple - Find all intersecting points

If I want to find all points of intersection, and not just one point, between the following two functions: $ sin(x)^{2}$ and $e^{-x}cos(x) $ $ eqn := sin(x)^2 = e^{-x}cos(x); $ $ fsolve(eqn, x); $ ...
-1
votes
3answers
60 views

Maple - Convert to complex

I need to convert $ \dfrac{1}{2x^{3}+x^{2}+2x} $ to $\dfrac{1}{2x} + ...
0
votes
1answer
97 views

Implicit 3d plot with depending bounds

I would like to plot this plane ($k1,k2,k3$ are constants): $x-k1=0$ such as $x=k1..n$ ; $y=(z-k3+k2)..n $; $z=k3..n$ The difficulty is that second variable y depend on z. I was trying to use Maple ...
0
votes
1answer
65 views

Understand a Maple output

My goal is to solve for $L$ in $\frac{(2k)!}{2^kk!}{2nL - L^2 \choose 2k} = \sum_{s=0}^k{L \choose s}{n-L \choose s}s!\frac{(2k-2s)!}{2^{k-s}(k-s)!)}{L-s \choose 2k-2s}.$ I tried to use the solve ...
3
votes
2answers
249 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
1answer
160 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 ...
1
vote
2answers
102 views

Get the function from Taylor series on maple

Can I get the reverse process for determining the function if I have its Taylor series, with maple? Thank you.
1
vote
1answer
170 views

Constructing a periodic piecewise (piecemeal) function in Maple.

I'm trying to make a piecewise function that will have period $12$. That is, it repeats every $12$ units across the $x$-axis. I managed to do one cycle successfully with ...
0
votes
1answer
32 views

collecting terms in a Differential Equation in Maple

Is there anyway to make maple collect terms in a differential equation? say for example $\dot{y}+y=3\dot{y}-7y$ so I get automatically $2\dot{y}-8y=0$
1
vote
2answers
94 views

Find $ \int_0^2 \int_0^2\sqrt{5x^2+5y^2+8xy+1}\hspace{1mm}dy\hspace{1mm}dx$

I need the approximation to four decimals Not sure how to start or if a closed form solution exists All Ideas are appreciated
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
1answer
61 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 ...
1
vote
1answer
94 views

Simplification of expressions with radicals in Maple

Having for example the expression $$\frac{abc\sqrt2}{d\sqrt{ab}}$$ (which results from a sequence of manipulations), can I force Maple to write it in the form $$\frac{c\sqrt{2ab}}{d}.$$ Many might ...
1
vote
1answer
108 views

System of linear algebraic equations in maple

I have to solve a system of linear algebraic equations in maple. In my book it is given using linalg package in maple, which is deprecated. So I want to use Linsolve from LinearAlgebra package, but ...
2
votes
3answers
84 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); ...
1
vote
1answer
70 views

Conversion of Hypergeometric functions from Maple to Mathematica

After a calculation I found in Maple an expression of the kind: $$f(x)=hypergeom\left(\left[\dfrac{a}{b},1\right],\left[c,d\right],h\right)$$ What is the equivalent notation in Mathematica which I ...
0
votes
1answer
54 views

Simplying linear equation to get quartic in q using Maple and then using Descarte’s rule of sign

Using the maple I am trying to get quardic in q from this big linear equation. Then use Descarte’s rule of signs to determine the number of positive roots. \begin{equation} ...
2
votes
2answers
82 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: ...
1
vote
1answer
72 views

Maple: Inverse of Covariance Matrix

Good day, I would like to ask about the inverse of covariance matrix from the coding below (using maple): Anyone know why the inverse A can't be computed? Thank you for your help!
0
votes
1answer
52 views

Function of polygonplots does not plot all polygons

Could anyone explain to me why my Maple-Code does not work properly? ...
2
votes
1answer
301 views

Differentiation of a parametric function using MATLAB or Maple

I'm doing some mathematical calculation of some symbolic math that includes multiplication and differentiation of some matrices. Some of the parameters in my calculations are functions of time. for ...