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
0answers
5 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
15 views

Inserting Maple worksheet commands [on hold]

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
0answers
14 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
22 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
39 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
63 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 : ...
0
votes
0answers
14 views

Maple: Resolve the KDV equation with pdsolve

I would like to resolve the Kortweg and de Devries equation : KDV2:= diff( u(X,T), T)+ 6*u(X,T)*diff(u(X,T),X)+ diff(u(X,T),X$3); I used pdsolve but I have a problem to enter the initial and ...
1
vote
1answer
42 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
55 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
32 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
34 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
23 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
68 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
60 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
39 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
36 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
35 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
24 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
127 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
38 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
43 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 ...
0
votes
1answer
47 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
26 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
44 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
27 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
60 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
25 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
43 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
47 views

Is there an analitical solution for such 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} $$, $$a,b,c,d - const$$ And I would love to solve it analitically. I tred maple 15 and 17 and got $$ y \left( x \right) =1/2\,{ ...
2
votes
2answers
112 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
65 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
43 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
votes
1answer
47 views
1
vote
2answers
43 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
33 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
58 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
56 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 ...
0
votes
0answers
58 views

Perturbation in Maple for ODE

I am working on doing a perturbation analysis for a model of opsin delivery in the eye. The ODE is VERY complicated ${\frac {d}{dt}}\eta \left( t \right) =1/2\,{\frac {-K_{{2}}kP_{{0}}+ \eta \left( ...
1
vote
2answers
51 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
49 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
53 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
89 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
82 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
77 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
147 views

How many digits of Pi…

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
57 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 ...
0
votes
3answers
66 views

Equation is not evaluating any result

eq1 := $y = -26.21231979*z+15.42332896+13.22411533*e^{-.6786000000*x}$ eq2 := $y = -25.98077423*z+14.81943362+13.53858145*e^{-.6569000000*x}$ Comparing both equations, eliminating $y$ ...
1
vote
1answer
21 views

Naming variables “_t3” from LinearSolve output in Maple 17

When I, in Maple 17, use LinearSolve in the package LinearAlgebra I get an result like <3_t3,_t3,-2_t3> Is it possible to tell Maple to name the variable ...
0
votes
2answers
76 views

Ampersand curve in polar coordinates

I got an assignment to write a program which draws the ampersand curve. The equation of ampersand curve looks like this: $(y^2-x^2)(x-1)(2x-3)=4(x^2+y^2-2x)^2$ I was given an advice to convert this ...
1
vote
1answer
142 views

How to find null space of a matrix over $\mathbb{GF}(2)$?

How to find null space of a matrix over $\mathbb{GF}(2)$ ? Are there any algorithms available? I am not sure here is appropriate to ask this or not: Is there any routines for MATLAB or Maple?