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

Substitutions in Maple

Can any one tell me what am I doing wrong in the following expression in Maple? subs(a*b*c=A, e*f/d=B, a*b*c*e*f/d) I am getting the output $\frac{abcef}{d}$ ...
1
vote
3answers
48 views

Integration using maple

I am trying to evaluate the following integral using maple but it returns the unsolved integral. Can anybody help me in using maple to solve this integral? $$ \int {2\pi\lambda R e^{-\lambda \pi ...
1
vote
1answer
31 views

Is there some function in Maple which can compute the number of monomials in a polynomial?

Is there some function $f$ in Maple which can compute the number of monomials in a polynomial? For example, $f(x_{1,2})=1, f(x_{1,2}+3x_{3,2}x_{2,5})=2$. Thank you very much.
1
vote
2answers
38 views

How to find number of variables in a monomial in Maple?

Given a monomial $m$. How to find number of variables in $m$ in Maple? For example, let $m=2*x*x$. Then the output to be $2$ (two same variable $x$ in $m$). Let $m=-2*x*y*y$. The output is $3$ ...
0
votes
1answer
26 views

Take the index of a variable in Maple.

Are there some functions in Maple which can take the index of a variable. For example, we define are there some functions f in Maple such that f(x[2,3]) = [2,3]? Thank you very much.
0
votes
0answers
23 views

Solving a system of equations involving matrices in Maple

I have a system of equations involving matrices which I would like to solve symbolically. The system has multiple equations like this: $\begin{pmatrix} x_{1,1} & \dots&x_{1,7}\\ \vdots & ...
0
votes
1answer
52 views

Parametrization for implicit function

$3y^2=x(1-x)^2$ By differentiation we can knwo that the sketch of this graph has one circle. I want to draw a graph in maple. Implicit plot does not work well So I will use parametric way. ...
0
votes
0answers
70 views

How to eliminate functions from a set of differential equations with Maple?

I've got a set of 7 equations, 3 of them being differential equations, with 7 unknown functions. I'd like to reduce the system to a set of 2 differential equations by eliminating 5 of the unknown ...
3
votes
2answers
61 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 ...
0
votes
1answer
79 views

Plotting piecewise functions maple

How would I plot the following equation in maple? $$f(x) = \begin{cases} 1, & \text{if } x\in\mathbb{Q}, \\ 0, & \text{if } x\notin \mathbb{Q}. \end{cases}$$
0
votes
1answer
45 views

Solving an ODE in Maple via Picard approximations

I am trying to use Maple to apply Picard approximations to the following ODE: $$ 2xyy' + x^2 - y^2 = 0,\ y(0) = 1 $$ I transformed it into the form $y' = f(x, y)$: $$ y' = \frac {y^2 - x^2} {2xy} ...
3
votes
0answers
81 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 ...
0
votes
0answers
64 views

In Maple or Mathematica, syntax : Finding the fundamental sol. of the Heat eq., with Dirac-Delta initial condition

I use this question as a case example for later solving more complex equations of this type : When trying to find the fundamental solution of the Heat equation using Maple (software) , I get the ...
0
votes
3answers
73 views

Plotting a region in $3D$ space

I would like to know if someone knows of a software where I can plot the following region $$ D = \{ (x,y,z) \in \mathbb{R}^3: 0 \leq x \leq 1 , \; x^2 \leq y \leq x, \; \; 0 \leq z \leq x \} $$ ...
0
votes
0answers
60 views

Galios Field Theory

$GF(29)^2$ is created by adjoining the root of the irreducible quadratic $p=x^2+7x+15$ to the field $GF(29)$ . The cubic polynomial $q=Y^3+(26x+26)Y^2+(8x+22)Y+13x+23$ is irreducible over this new ...
1
vote
1answer
67 views

Prevent Maple to evaluate before simplify a function

I have been trying to find a domain of $f(x)=\frac{x}{\frac{(x+2)}{(x-3)}}$ using different kind of software ( its clear the domain of this function is $\mathbb{R}\backslash \{-2,3\}$ ). When I tried ...
0
votes
1answer
25 views

Finding zeroes of a numerical solution of an ODE in Maple

I have a system of ODEs involving many variables, say 20, and I have solved this system numerically by Maple for a particular initial condition. When I plotted these solutions it was clear that ...
2
votes
1answer
25 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
1
vote
1answer
31 views

defining ODEs recursively in maple

I want to numerically look at a system of ODEs with a large number of variables; defined by $da_j(t)/dt= 2^j a_{j-1}^2 - 2^{j+1} a_j a_{j+1}$, for $j=0\ldots50$ with $a_{-1}= a_{51}=0$. In maple, I ...
2
votes
2answers
38 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.
0
votes
0answers
51 views

Computation of a singular integral (maybe in Maple)

Excuse me please. I am a student of Mathematics, now I am writing my graduate work. Could you please answer me how to calculate the following integral (exactly or approximately, maybe using Maple): ...
0
votes
3answers
446 views

first, second and third derivative of a vector function

I can define the following vector function $f(x,y,z) = [x^2 - 1, x^3 + y^2, z]$ in MatLab or in Maple. I want to find (and evaluate) the first, second and third derivatives of it. How to find : ...
1
vote
1answer
46 views

keeping track of a quantity in an ODE system

I have looked at some Maple help documents, but it was hard to find what I wanted to do.. My situation is quite simple. I have a couple ODE for (say) 5 variables, $a_1 '(t) = a_2 (t) a_3(t) - a_1 ...
1
vote
1answer
107 views

Good software package to help Maths learning

I'm a mature student enrolling at a Maths degree course soon at the university. I'd like to be able to use some software package to help me visualize equations, graphs, play around with variables with ...
1
vote
2answers
46 views

Maple: If a number is an integer/square

I'm writing a Maple procedure and I have a line that is "if ... then ..." and I would like it to be if k is an integer (or if k^2 is a square) - how would onw say that in Maple? Thanks!
2
votes
2answers
53 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 ...
1
vote
2answers
30 views

Ending a procedure early in Maple

I want to jump to the end of the procedure if an IF statement is true ...
1
vote
1answer
330 views

How can I plot a 3d graph with data points in Maple?

I am trying to plot this data on Maple as 3D scatter plot and surface plot: Any help would be appreciated. Thanks. Cut-and-paste format of the data: Pressure(Bar) Temp (K) k (/Ms) 19.02 ...
2
votes
1answer
124 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.
0
votes
0answers
75 views

SIR models - help!

I am doing a project on the spread of infectious diseases and I have chosen to model this spread by using the SIR model - (susceptibles, infectious, recovered). I have to insert data into this model ...
0
votes
1answer
104 views

plotting cones and space curves using Maple

A curve $\cal{C}$ is given by the parametric equation $$ {\bf r}(t) = (e^t\cos t, e^t\sin t, e^t-1)\;,\quad 0\leq t\leq 2\pi\;. $$ Using Maple, I would like to sketch the curve $\cal{C}$ and the cone ...
1
vote
1answer
43 views

Is there a way in maple to compute sums of arbitrary number of products minors of matrices?

I would like to use maple to compute \begin{align} P_i & = \sum_{1\leq j_1 < \cdots <j_{i-1} \leq i} \Delta_{(2,\ldots, n), (j_1,\ldots,j_{i-1}, i+1, \ldots, n)}(A) \Delta_{(j_1, \ldots, ...
0
votes
1answer
62 views

contourplot labels?

I need to label my contours generated by using the contourplot function. Is this feasible in Maple? I have tried the advisor6 database found here ...
2
votes
2answers
142 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 ...
1
vote
0answers
48 views

Why Maple fails to judge $x < \tan(x)$ assuming $0<x<\pi/2$?

I am using maple to verify an expression, $x < \tan(x)$ for $0 < x < \pi/2$, but it returns FAIL, i.e. is ( x < tan(x) ) assuming 0 < x < Pi/2 ...
0
votes
1answer
69 views

Have trouble making a phase line plot with Maple.

Draw the phase line, and sketch several graphs of solutions in the $ty$-plane Is the directions for my homework. I have tried the Phase Portraits for Autonomous Systems under tasks, but I don't ...
-1
votes
1answer
72 views

Trying to use the pointplot command on Maple

I'm trying to plot the points (n, a(n)) from n=1 to n=20, but Maple's just telling me what I want to plot, without actually plotting it. Any ideas on what I'm doing wrong?
1
vote
1answer
33 views

Maple: use one digit of a long number

I'm writing a procedure in Maple and was wondering if there was a way to pick out one digit of a number - for example, if the number was $18475$ and I wanted the tens digit I would do something to ...
2
votes
1answer
55 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 := ...
0
votes
1answer
35 views

How to write a maple program to calculate the product of polynomial factors missing some factors?

How to write a maple program to find the following products $\prod\limits_{j=1,j\neq 5}^{100} s-a_j$ $\prod\limits_{j=1,j\neq 6,11}^{100} s-a_j$ $\prod\limits_{j=1,j\neq 2,9,25,68}^{100} s-a_j$ ...
0
votes
2answers
66 views

How plot $f(x,y) = \frac{x}{1-y}$ with $x^2+y^2<1$?

How do you plot $$f(x,y) = \frac{x}{1-y} \text{with}~ x^2+y^2<1$$ in Mathematica or Maple?
1
vote
1answer
39 views

Maple Input and string conversion

In Maple how does one prompt a user to input an equation with variable x? Then convert that equation into a data type that will enable me to perform functions on said equation?
0
votes
1answer
78 views

How to plot this direction field in Maple.

$y^{\prime}=ay+b$ where $a,b$ are positive numbers. I know how to plot this if I have exact values for both $a$ and $b$, but how to see the difference as either/both $a$ and $b$ change? I ...
1
vote
1answer
61 views

Analytic solution for the ODE $\frac{d y(x)}{dx}=\frac{a*y(x)^3+b}{c* y(x)^3+ d}$

I have an ODE $$ \frac{d y(x)}{dx}=\frac{a*y(x)^3+b}{c* y(x)^3+ d},$$ where $a,b,c,d$ are constants, and I would love to solve it analytically. I tried Maple 15 and 17 and got $$ y \left( x \right) ...
2
votes
2answers
203 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 ...
1
vote
0answers
87 views

Solving the General Equilibrium with $4$ equations and $4$ unknowns

I have to solve four equations to solve the equlilibrium prices for the two countries: $\frac{2p_1}{w_1} + \frac{p_1}{w_2}= \frac{48w_1^2 + 4p_1^2+p_2^2}{8p_1w_1}+ ...
0
votes
1answer
48 views

in maple how to find the asymptotic curve of $\frac{x}{lnx}$

In maple how can i find the asymptotic curve of $\frac{x}{lnx}$ I'd appreciate if one can tell me what's the output as well. thanks.
1
vote
2answers
66 views

Plotting function with 2 variables within constraints

I have a function of two variables: With some values Now I have to plot this, so that tha values of U are between -5 and 0. How do I do this? (Note: It's not the values of x and y that need to be ...
1
vote
1answer
39 views

How can you tell Maple12 that A is constant?

I have this equation $$equation:=\frac{\partial ^{2}}{\partial t^2}x_1(t)=-2\omega^{2} x_1(t)+\omega ^2x_2(t)$$ Let's do substitutions: $$x_1=A_1e^{i\omega t}$$ and $$x_2=A_2e^{i\omega t}$$ Now I ...
1
vote
1answer
85 views

How to write a maple program to calculate the sum of products of polynomial factors missing the factor in the sum?

How to write a maple program to find the sum of the products given below $\sum\limits_{i=1}^n a_i~\prod\limits_{j=1,j\neq i}^ns-b_j$