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
1answer
84 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
96 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
59 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
54 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
63 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
174 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
100 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
104 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
157 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
79 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
67 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
28 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
113 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
192 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
98 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
206 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
34 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
78 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
206 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
106 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
461 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
62 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
125 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
301 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
92 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
172 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
91 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
217 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
249 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
116 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
63 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
100 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
212 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
104 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
126 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
336 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
54 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
497 views

Why is `evalf` not working?

Why is evalf not changing $\pi$ and $e$ to floating point in the following: ...
1
vote
3answers
116 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
40 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
59 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
189 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
254 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
457 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
54 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
58 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
100 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
78 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
97 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 ...