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
36 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
88 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
228 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 ...
1
vote
1answer
129 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
652 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
68 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
140 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
334 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
116 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
255 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
112 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
343 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
272 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
132 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
65 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
65 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 ...
0
votes
2answers
102 views

How to show a limit exist in maple?

Im trying to show $ \lim_{x \to 0}\frac{\sin(\sin(2x)^2}{x^2} = 4 $ in maple, but I am not getting it. This is what I have
0
votes
2answers
232 views

Perfect numbers less than 10 000

Im trying to find perfect numbers less that 10 000. I was told that the best way to do this is by using maple, but I don't know how to use latex except the basics like graphing. Can someone help me do ...
0
votes
1answer
109 views

Hermite Integration problem 1

Hey I am trying to calculate this problem of Hermite polynomial by hand, but I think it's way easier to do on Maple, so can anybody help me write the Maple code: Let $f(x) = 3xe^x - e^2x$. a) ...
0
votes
1answer
162 views

Animations on Maple [closed]

I'm working on some textbook problems for Maple, and I encountered the following problem: Create an animation to illustrate the differences between line thicknesses in Maple (you can choose any ...
0
votes
1answer
421 views

The Intersection of Two Implicit Functions in Maple

How would I find the intersection between the system of equations $2x^4-2y^3+y=0$ and $2x^2y+3y^4-2x=0$? The section in my book hasn't covered plot3d yet, so I was ...
1
vote
1answer
61 views

Running multiline Maple program

I am working on the question below, which I have copied from a PDF file. I have determined what the program does (Euclidian algorithm), but I need helping running the actual program. I am instructed ...
0
votes
2answers
630 views

Why is `evalf` not working?

Why is evalf not changing $\pi$ and $e$ to floating point in the following: ...
1
vote
3answers
138 views

How do I plot a bunch of vectors in Maple and find the difference and cross product between them?

Title says it all. This is the assignment I'm trying to do. http://math.rutgers.edu/~shtelen/Teaching/Fall-2013/L1_instr.pdf Data I need to plot ...
0
votes
2answers
41 views

Changing Rational Expressions into a Sum (or Difference) of Rational Expressions in Maple

Given $\dfrac{x^4+x^3-4x^2-4x}{x^4+x^3-x^2-x}$, is there a way to make it into a sum or difference of rationals such as: $\dfrac{x^2}{(x-1)(x+1)}-4\dfrac{1}{(x-1)(x+1)}?$ I've tried using ...
1
vote
2answers
63 views

Maple Conversion Command

I am aware Maple has many commands of the form convert(a,b), where $a$ is usually an expression and $b$ can be a lot of different things, such as ...
1
vote
1answer
209 views

Problem with Newton's Method

I am trying to solve this problem: Use Newton's method to find the intersection points of the two circles defined by $$x^2 + y^2 = 2, \quad (x-1)^2 + (y+1.5)^2 = 1.$$ I used this code in ...
1
vote
3answers
363 views

How to find the $n^{th}$ digit (in Maple)

Given a number, such as $5^{9^6}$, how would I find the $n^{th}$ digit? (say the $87^{th}$ digit) I considered the "Digits" command, but that only controls the amount of digits after the decimal, so ...
1
vote
1answer
585 views

how to plot sequence of partial sums in Maple

I've seen other questions and tried to use internet and the built-in help but I'm still at a loss. Given the sequence seq((n,1/2^n),n..20)), I want to plot the corresponding sequence of partial sums, ...
1
vote
0answers
61 views

what is the algorithm to calcuate max and min in piecewise function

maple code convert(max((2-x)/3, x+1), piecewise); convert(min((x+1)/3, 1-x), piecewise); i feel that above command is very powerful and complicated, and would ...
0
votes
1answer
59 views

Maple command for algebraic combinaiton of polynomial in $\mathbb{Z}_p[x]$

Let $F(x) , f_1(x),\ldots, f_r(x)$ be polynomials with coefficients in $\mathbb{Z}_p$ ($p$ is odd prime) Is there a Maple command to determine if$$ F(x) = a_1(x)f_1(x)+\dots+ a_r(x)f_r(x) \pmod{p} ...
1
vote
1answer
105 views

help to write the Mathematica or Maple code for $\log(1+x)$ as MeijerG

I am having difficulties working with some integral and I believe that if the natural logarithm in that integral is converted to its MeijerG equivalent, then it will be solved easily. can somebody ...
2
votes
1answer
84 views

removing items from a list in maple based on another list

So I am new to maple and need to write a procedure that given one list removes the entries of that list from another. ...
2
votes
1answer
102 views

Finding gcd of polynomials with extra parameter in Maple

My problem is that I have two functions in two variables, say $x$ and $y$. The functions are both polynomials in $x$, but sometimes $y$ appears in an exponent. What I want to do is find the gcd of ...
1
vote
0answers
117 views

How to get a symbolic answer

I am coding some optimization problem in Maple, and actually I did something and got a numerical solution. Right now I want to do the same thing but need to get the symbolic answer. The problem I have ...
1
vote
1answer
50 views

How to code in Maple for testing a sequare Matrix

I am writing a procedure in Maple for doing some optimization. Really now I want to ask Maple whether the Matrix is 2x2 or 3x3 or 4x4 and so on. And in each case of these matrices I am going to do ...
1
vote
1answer
94 views

How to make a procedure in Maple

Let the matrix $A$ be a linear map (let us take $A$ to be square matrix), and we want to solve $Ax=y$ for any $y$ in range of the linear map $A$. Can anyone help me with the code of ...
1
vote
2answers
135 views

Find the infimum of $f(x,y)=\tfrac{1}{2} x^2-\tfrac{1}{2} xy+\tfrac{1}{4}y^2$ on the line $\langle t,-2t+4\rangle$ in Maple

If we have the function $$f(x,y)=\tfrac{1}{2} x^2-\tfrac{1}{2} xy+\tfrac{1}{4}y^2$$ and we want to find the infimum of $f$ at the vector $X=\langle t,-2t+4\rangle$ where its components are the $x$ and ...
0
votes
1answer
161 views

how to calculate the quotient of two permutation group

G/N i guess G and N are both permutation group however, i can not find command in maple to do quotient there is really a quotient command in maple, however it is for polynomial how about quotient ...
1
vote
4answers
519 views

Plotting in maple/MATLAB

How do you plot the following parametric equation (equation of an ellipse) in the same graph $$ x = a\cos{t} $$ $$ y = b\sin{t} $$ with varying value of $a$ and $b$ in either maple or MATLAB ? ...
2
votes
4answers
101 views

How can we know the range of linear map?

If we have a linear map A, that is Ax=y, then certainly that A has a domain and range, so my question is: how can we know what the domain and the range of the linear map A are? and, How can we find ...
2
votes
1answer
53 views

Maple simplification incorrect?

I'm using Maple 16 to help me in some tedious computations. I wanted to evaluate the following thing: $\sum_{i=1}^k\left(\left(\frac{1}{2}\right)^{l+i-1}\cdot\binom{l+i-2}{i-1}\cdot(k-i+2)\right)$ ...
1
vote
0answers
73 views

Put a value to a variable in Maple

I have these commands and I would like to put a value 2.02682872387444 from table to a variable for example a. How can I do it? DR1 := diff(x(t), t) = 100*x(t)-3*x(t)*y(t) DR2 := diff(y(t), ...
1
vote
2answers
274 views

How to compute the the basis of the Null space in Maple

Can any one tell me how to find the basis for the Null space of a matrix A in Maple? I mean, If A is any Matrix of real numbers, then I want to compute the basis of the subspace Null(A). Thanks to ...
0
votes
1answer
91 views

Linear functions with parameter in maple

Please help me, Im new in Maple. Dont you know how I can solve this? Matrix(3, 3, {(1, 1) = 863138, (1, 2) = -332862, (1, 3) = -530302, (2, 1) = 1726276, (2, 2) = -665724, (2, 3) = -530302*m, (3, ...
0
votes
3answers
226 views

Create animation of parametric plot

I would like to create an animation of parametric plot. With a moving point on curve. The parametric functions are: x(t) = ...
1
vote
2answers
240 views

Simplify a recursively defined function in Maple

I have the following problem. Out of the runtime analysis of an divide and conquer algorithm I got the following formula for the necessary flops: ...
1
vote
1answer
184 views

Simplify a recursive function in Maple

I have the following problem. Out of the runtime analysis of an divide and conquer algorithm I got the following formula for the necessary flops: ...
2
votes
4answers
514 views

How can I change background color of plot in maple?

Please help me, I have two functions: a := x^3+x^2-x; b := 20*sin(x^2)-5; and I would like to change a background color and fill the areas between two curves. ...
1
vote
3answers
3k views

Find intersections of two functions in Maple

I have two functions $f$ and $g$ defined as: $c:=x^3+x^2+x$ $d:=20\sin x^2-5$ I am trying to find the intersections of these using Maple $16$. How would I do this?