Questions tagged [maple]

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.

Maple is an interactive engineering and scientific programming environment, as well as a high level programming language, from Maplesoft.

The following links can be useful:

755 questions
1
vote
3 answers

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?
JohnDow
  • 185
1
vote
1 answer

The Intersection of Two Implicit Functions in Maple

How would I find the intersection between the system of equations $2x^4-2y^3+y=0$ and $2x^2y+3y^4-2x=0$? The section in my book hasn't covered plot3d yet, so I was thinking perhaps implicitplot would be good, but I'm not sure if that's right…
1
vote
2 answers

Running multiline Maple program

I am working on the question below, which I have copied from a PDF file. I have determined what the program does (Euclidian algorithm), but I need helping running the actual program. I am instructed to use the "text insertion" feature. I am using…
Malthus
  • 353
1
vote
2 answers

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 parfrac. I've been doing some practice questions, and I'm stumped on this one: If I wanted to convert…
1
vote
3 answers

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 I can't find any use for it for integer values.…
1
vote
0 answers

How to create a LieAlgebra from a Clifford algebra and decompose it in Maple?

I'd like to set up a Lie algebra from the commutator of a complex Lie algebra. I've found you can create Clifford algebra data with with(DifferentialGeometry): with(LieAlgebras): AD:=AlgebraLibraryData("Clifford(3)", Cl3) How can I set up a Lie…
Gere
  • 2,117
1
vote
1 answer

How should I do partial derivatives in Maple in a symbolic way?

I want to calculate the partial derivatives of the function $A(x,y)$. For example, I want to use Maple to calculate $\frac{\partial^2}{\partial x\partial y}\left(K\cdot x\cdot A(x,y) \right)$ where $K$ is some constant. Here the function $A(x,y)$ is…
Kenneth.K
  • 1,405
1
vote
0 answers

How to get a symbolic answer

I am coding some optimization problem in Maple, and actually I did something and got a numerical solution. Right now I want to do the same thing but need to get the symbolic answer. The problem I have is to compute the compose of a given convex…
LoveMath
  • 769
1
vote
1 answer

Maple: Comparing an index variable to an integer in the context of product

I'm running into a strange problem. I want to implement a product in Maple with skipping some factors. For example (a very simplified one): $$\prod_{\stackrel{k=1}{k \not= 3}}^{5} (x-k) = (x-1)(x-2)(x-4)(x-5).$$ In Maple I wrote product(ifelse(k <>…
1
vote
1 answer

How to code in Maple for testing a sequare Matrix

I am writing a procedure in Maple for doing some optimization. Really now I want to ask Maple whether the Matrix is 2x2 or 3x3 or 4x4 and so on. And in each case of these matrices I am going to do something. Also, to know if the matrix is not…
LoveMath
  • 769
1
vote
1 answer

How to make a procedure in Maple

Let the matrix $A$ be a linear map (let us take $A$ to be square matrix), and we want to solve $Ax=y$ for any $y$ in range of the linear map $A$. Can anyone help me with the code of procedure (proc) in Maple for doing this job?? Actually, I can use…
LoveMath
  • 769
1
vote
0 answers

Put a value to a variable in Maple

I have these commands and I would like to put a value 2.02682872387444 from table to a variable for example a. How can I do it? DR1 := diff(x(t), t) = 100*x(t)-3*x(t)*y(t) DR2 := diff(y(t), t) = -40*y(t)+x(t)*y(t) PP := x(0) = 150, y(0) =…
Lukas
  • 79
1
vote
2 answers

Maple - finding constant coefficient in multivariate polynomial

Is there a command relevant to finding the constant coefficient of any term in a multivariate polynomial in Maple? For example. If I have p=2*x*y^2+3*x^2*y. Then I want to specify a monomial term(x*y^2) and be able to extract the coefficient(2). So…
1
vote
3 answers

how to convert to a rational number with some decimal from base 10 to base 2

It is very eazy to convert an integer number to another base, say 2, using Maple. Can anyone tell me how to convert a rational numbers with several decimals from base 10 to other bases In maple? Well, I can multiply the rational number by 10th and…
LoveMath
  • 769
1
vote
0 answers

SEIR model with births and deaths - plot phase plane with Maple

I want to plot the (SI)-phase plane for the following epidemiological system: m, b, a, g are parameters > 0 S'= m - b*S*I - m*S E'=b*S*I - g*E-m*E I'=g*E-a*I-m*I R'=a*I-m*R (S=susceptible individuals, E=Infected but not infectious, I=infectious,…
zarate
  • 21