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
2 answers

Maple evalution rules at function definition

I am trying to define a function, A, which has a function call, B, in its body. The function call to B is independent of input parameters of A. Maple does not call B at function definition. Is there any way to force it to evaluate call to B at…
1
vote
3 answers

Eliminate variable in Maple

I tried to search, and found some answers that were sort of relevant. However I could not get it to work. So, I have two equations $x=f(\xi)$ and $z = g(\xi)$, both being affine, thus invertible. More precisely the equations…
blybb
  • 25
1
vote
1 answer

Algebraic extension by $\sqrt{-7}$

In trying to find the Galois group of a polynomial, I am trying to see if adjoining $\sqrt{-7}$ can split the polynomial but entering factor(x^2 + 7 , $\sqrt{-7}$) is invalid. How can I accomplish this?
1
vote
1 answer

Maple loop print only prime inputs

I'm new to maple and attempted to write code to print the results of a certain equations given that the input variable was prime. The code gives no error, but doesn't work. for n from 3 by 2 to 99 do if isprime(n) then print*(n,…
1
vote
1 answer

Maple: solve with a variable or fsolve without variable return different result

I've encountered a very strange issue with Maple. Hopefully to get an answer from here. The result returns differently with solve and fsolve after/before a variable is given a certain value. See attachment and/or PDF exported from Maple The result…
dellair
  • 99
1
vote
0 answers

How to calculate power of a tensor field in maple?

Let $\alpha_i$ be linearly independent $1$-forms and $T$ a $(1,1)$-tensor such that $$T=T^i_j \alpha_i\otimes X^j,$$ where $X^j$'s are vector fields dual to $\alpha_j$ in Riemannian manifold $(M,g)$. Then How to calculate $T^2=T\circ T$ in maple…
C.F.G
  • 8,523
1
vote
1 answer

Maple, Graph of an optimization problem

I have solved the following maximisation problem analytically. I would like to graph the solution as well so I can see it, but I am not sure how to do this with Maple, i have just started using it. Maximise x+y subject to: $$ \begin {eqnarray*} x +…
1
vote
1 answer

How to plot two functions together in Maple

I'm given two functions (a surface and a tangent plane), and I am required to plot them together in the same graph in Maple. The surface is $$x^2y^2+y^2z^2+z^2x^2=15$$ and the tangent plane is $$z=\frac{9}{2}-\frac{5}{4}x-\frac{5}{4}y$$ I have used …
1
vote
1 answer

Plotting surface within a box in Maple

I'm given a surface $$S=x^2y^2+x^2z^2+y^2z^2=9$$ and I am being asked to plot the part of this surface which lies within a box with the dimensions $$[-10,10] \times [-10,10] \times [-10,10]$$ I understand how to plot the surface, but I'm not sure…
1
vote
1 answer

Understanding how to use implicitdiff command in Maple 17

I am given a system $$\left\{\begin{matrix}xy^2+zu+v^2=3 \\ x^3z+2y-uv=2 \\ xu+yv-xyz=1 \end{matrix}\right.$$ which defines x, y, z as functions of (u,v) around (1, 1, 1, 1, 1). I've been asked to compute $$\frac{\partial y}{\partial u}(1, 1)$$ and…
1
vote
1 answer

Trouble Plotting Mobius Strip in Maple 17

I'm quite new to Maple, so forgive me if this question seems a little trivial. I'm trying to plot a Mobius strip with the parametrization $$\left\{\begin{matrix} [1+tcos(s)]cos(2s)\\ [1+tcos(s)]sin(2s) \\ tsin(s) \end{matrix}\right.$$ with the…
1
vote
0 answers

Changing colors of entries of a matrix in Maple

I need to make distinction between certain entries of a matrix that are identical. The only practical solution I can think of is to use different color. Can someone please tell me how to modify the color of individual entries of a matrix in Maple? I…
1
vote
2 answers

how to find derivative

It is necessary for me to find $\Delta^2 u=u_{xxxx}+u_{yyyy}+2u_{xxyy}$ where $u=u(r,t).$ I tried by the following but got an error in Maple. $$x:=rcos(t);~y:=rsin(t);$$ then tried to find $$diff(u,x$4)+diff(u,y$4)+2diff(diff(u,x$2),y$2).$$ but…
Rosa
  • 1,502
1
vote
1 answer

Error, (in sum) summation variable previously assigned

Assume that I have a function like this func1 := proc (a) return sum(i, i=1..a); end proc; This function works as long as I don't define a global variable $i$. If I do that, every subsequent call to func1 returns this error: Error, (in sum)…
Mischa
  • 153
1
vote
1 answer

Maple zeroth entry of list or some other data structure?

Is it possible to change the structure of a list such that the $1$st element becomes the $0$th? That is, if $x$ is a list then $x[0]$ calls the first element of $x$. I am writing some pseudo-codes in Maple for my Numerical Analysis course, and the…
Odda
  • 11