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

0
votes
1answer
48 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
1answer
116 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. ...
3
votes
2answers
120 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
286 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
72 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
117 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
3answers
87 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
82 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
154 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
39 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
109 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
43 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
89 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
3answers
1k 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
50 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
210 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
130 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
84 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
77 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
963 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
426 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
1answer
429 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
46 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
245 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 http://www.math.ubc.ca/~israel/advisor/advisor6/...
2
votes
2answers
163 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
62 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
205 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
153 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
46 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
69 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 := X;...
0
votes
1answer
40 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
80 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
81 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
146 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
65 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
572 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
153 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}+ \frac{48w_2^2+p_1^2+4p_2^2}{...
0
votes
1answer
63 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
283 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
43 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
167 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$
1
vote
1answer
170 views

How does one write this pseudocode as a maple program?

INPUT n, x1, x2, . . . , xn. OUTPUT NORM. Step 1 Set SUM = 0. Step 2 For i = 1, 2, . . . , n set SUM = SUM + x^2(i). Step 3 Set NORM = SUM1/2. Step 4 OUTPUT (NORM); STOP. I am having a hard ...
1
vote
2answers
71 views

In maple how do you evaluate combinations?

In Maple how do you have it evaluate combinatorics such as $\binom{5}{2}$ and give you the answer 10? (What is the name of what I want to do anyways, is it evaluate?) Thanks. Seems so easy now that I ...
-1
votes
1answer
76 views

IVP computer code stuff

I need help with this following problem: Write maple code to solve numerically the initial value problem $\frac{dy}{dt} = g(t)=\int_{0}^{t}f(x) dx$ and $y(0)=0$. a) Use numerical ...
1
vote
1answer
120 views

How to use any function interpolation method to create two functions …

I need help desperately on this. I have been working on it for a while. Use any function interpolation method studied in the course to create two functions $x(t)$ and $y(t)$ on $0 ≤ t ≤ 1$ so ...
1
vote
2answers
402 views

Newton's method to solve a system of equations

I have a system of equations: $x_1^3 + x_1^2x_2 -x_1x_3 + 6 = 0$ $e^{x_1} + e^{x_2} - x_3=0$ $x_2^2 - 2x_1x_2 = 4$ and the question asks me to evaluate the left hand side of the equations at my ...
1
vote
3answers
121 views

two fixed point problem

The function $f$ given by $f(x)=x^{x - sin(x)}$ has a fixed point at 1 and another fixed point near 2. If the I want to estimate fixed pt near 2 using a graph of the function, then: This is what ...
1
vote
1answer
206 views

Halley's method

Halley's method uses a quadratic Taylor approximation and results in a fixed point method of order $3$: $$ x_{n + 1} = x_{n} - {{\rm f}\left(x_{n}\right) \over {\rm f}'\left(x_{n}\right)}\, \left[% ...
0
votes
4answers
279 views

How many digits of Pi… [closed]

In maple, how do I calculate the digits of Pi with only using a few seconds of computation time? I'm thinking evalf(Pi) But how do I know how much time the computer takes to give out the ...
0
votes
1answer
241 views

SIR Models - interpretation (epidemiology) - help!

I am doing a project on modelling the spread of diseases and am using a SIR (susceptible, infected and recovered) model to do so. I need help interpreting this plot: What does this plot say about ...