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
81 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
143 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
50 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
78 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
84 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
34 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
57 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
69 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
40 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
88 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
62 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
254 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
94 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
85 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
97 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
93 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
108 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
60 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
59 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
65 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
213 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
101 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
109 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
166 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
91 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
68 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
33 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
128 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
226 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?
1
vote
0answers
121 views

Change of variables in differential equation in Maple

Consider the differential equation $zZ'' + Z' + \alpha^2Z = 0, $where $Z = Z(z).$ Use the change of variables $x = \sqrt{z/a}$ with $a$ a constant to obtain the differential equation $Z'' + (1/x)Z' ...
1
vote
2answers
209 views

CAS for algebraic geometry, which one?

I use Maple to compute Groebner bases and find it very efficient/fast for my current needs. However, several introductory textbooks on algebraic geometry refer to Singular, which I never used before. ...
0
votes
0answers
35 views

Can Maple solve recurrence relations when n is only certain numbers?

If you have an equation $a(n)=a_{n-1}+2a_{n-2}$ only defined when n is powers of 2, how would convey that to Maple that n has a restriction? What if you wanted only $n \ge 2$?
2
votes
3answers
85 views

Use I as an variable in Maple

I want to declare a function I(t), but Maple interprets I as the imaginary unit. Can I use a Maple command to assume I is an variable? I've looked in the manual, but I can't seem to find a solution.
0
votes
1answer
224 views

Solving equations in MAPLE

I am using maple for the first time. I want to invert the equations using any maths tool. I tried it using MAPLE. I have given two equations in this form: $a=x*b^r + y*(b^s)*(c^t) + z*c^u$ Now ...
0
votes
1answer
115 views

Solving Poisson Equation Finite-difference using maple

How do I solving Poisson Equation Finite-difference using maple consider Poisson equation $$\frac{\partial^2u}{\partial x^2} (x,y)+ \frac{\partial^2u}{\partial y^2} (x,y) = x*e^y$$ $0<x<2$ ...
2
votes
2answers
597 views

How to define a recurrence relation in Maple?

I'm new with Maple and want to define a recurrence relation. I want to 1) have Maple solve it to the explicit formula 2)have Maple output a few evaluations of it for various values of ...
0
votes
1answer
64 views

Maple plot range

I've been searching for a while, but I can't seem to find the syntax for this (if it exists!) Is it possible to plot a range but exclude certain values? I wish to plot a single graph that ranges from ...
0
votes
1answer
134 views

Problem concerning Numerical Solutions of Nonlinear Systems of Equations (Burden and Faires)

I need help with this particular question: The nonlinear system $3x_1 - \cos (x_2 x_3) - \frac{1}{2} = 0$ $x{_1}^2 - 625x{_2}^2 - \frac{1}{4}=0$ $\exp ^{-x_1x_2} + 20x_3 + \frac{10\Pi -3}{3}=0$ ...
3
votes
1answer
326 views

Laguerre polynomials and least squares polynomial

A similar question from Orthogonal polynomials and Gram Schmidt says: Use the Laguerre polynomials, i.e, $L_1(x)=x-1$,$L_2(x)=x^2-4x+2$, and $L_3(x)=x^3-9x^2+18x-6$, to compute the least squares ...
2
votes
3answers
110 views

Domain of Composite Functions by using Maple

I have two functions $f(x)=\frac{(x+1)}{(x-1)}$ and $g(x)=\frac{(x-1)}{(x+1)}$. I need to confirm by using maple that $D_{fog}=R-\{-1\}$ and $D_{gof}=R-\{0,1\}$. When I try f@g and g@f syntax im ...
1
vote
3answers
223 views

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?
1
vote
1answer
104 views

Generating Function via Recurrence Relation

I am trying to find the solution to the following recurrence for polynomials: \begin{align*} h^{[0]}(z) &= z \\ h^{[n+1]}(z) &= z h^{[n]}(z) (z+z^2+...+z^{n+1}) +z \end{align*} I calculated ...
1
vote
1answer
303 views

Maple: assign derivative to function

This is probably a basic Maple question. I'm trying to introduce $g$ as the derivative of $f$: Somewhat puzzling, Maple now says $g$ is two times the function $x()$. I've tried ...
0
votes
1answer
267 views

Application of the Backward Euler method to the DE …

I'm having trouble solving this question below and would like to have some help: Apply the Backward Euler method to the differential equation: $y' = -20y + 20\cos (t) - \sin (t)$, $0\leq t\leq 2$, ...
0
votes
1answer
127 views

Runge-Kutta-Fehlberg Method Problem

Suppose all infected individuals remained in the population to spread the disease. A more realistic proposal is to introduce a third variable $z(t)$ to represent the number of individuals who are ...
0
votes
1answer
63 views

Derivative of polynomial division in Maple

This is proably a beginner's question about Maple. I'm trying to use Maple to differentiate: $$\frac{(z^2-1)^2}{(az-1)(z-a)}$$ Where $a$ is a constant. On the first line, is there a way to ...
1
vote
1answer
64 views

solving the pde $U_t(x,t)=U_{xx}(x,t)-b(t)U(x,t)+q_0$ for $U(x,t)$ using maple

I have the pde $U_t(x,t)=U_{xx}(x,t)-b(t)U(x,t)+q_0$, where $b(t)$ is a function of only $t$ and $q_0$ is a constant, $0<x<\pi$, $t>0$. I also have some boundary conditions: $U(x,0)=0$ and ...