Maple 2015 Questions and Posts

These are Posts and Questions associated with the product, Maple 2015


Hi, I would like to plot multiple curves with arrows pointed at each curve. I don't know how to plot the arrows with values. A similar figure is attached. Thanks for helping . . .

Hi there,

I have a function X that I am trying to plot a phase portrait for against it's derivative dX/dt. I currently have the code:


which sketches a graph but does not give any arrows to indicate direction.

Could anybody help?


Many thanks

Hi there,

I have a function defined as:


which I am trying to plot on a 2D graph of axes (t,u(t)).

In the specific case I have epsilon=1/10 and v=2

When I try plot(U), maple returns the error message:


Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct


Could anybody help me out please?

Many thanks



Hi there,

I have an ode that I want to plot, I am trying to plot 2 different graphs on one graph and have tried using display but cannot seem to add a legend to it. Someone suggested adding a legend to each individual graph before combining them but I cannot find out how to add a legend to a DEplot. My code is as follows:




A:=DEplot(ode,u(t),t=0..10, [[u(0)=0, D(u)(0)=v]], u=-0.5..0.5, linecolor=black, linestyle=dash, title="Numerical Solution"):

B:=plot(Q1, t=0..10, u=-0.5..0.5,color=blue, legend="Regular Perturbation Expansion"):

display([A,B],title="Comparing the regular perturbation expansion to the numerical solution")


Many thanks

Good day everyone,

I'm relatively new to Maple, and I study engineering (not maths), so maybe my problem is related to a bad approach of the equations.

The problem is that I'm asking Maple to do a double integral of a "complex" expression and it only solve the first integral, but not the second.

Here is the code:



Hope everyone should be fine. I am face to import excel sheet in maple. I saved execl sheet with name "Employees.xlsx" at desktop. When I use the following command
S := Import("Employees.xlsx", 1, "A1:B101");

I got the following error. 

"Error, (in ExcelTools:-Import) Could not open the file"

Please help me to fix this problem. I am waiting positive response. 

Special request to:

@Carl Love
@Preben Alsholm

Hi everybody,

I use dsolve(..., numeric, events =[...], parameters = [...], range=0..TMAX) to solve a parameterized system of 2 ODEs (unknowns x(t) and v(t)).

The solution over the whole range [0, TMAX] is constructed by assembling partial solutions over adjacent subranges of [0, TMAX].

(please look the attached file and feel free to contact me if you need more details than those given below

There exist two types of solution :

  • Type 1 : trivial solution : for all t in some range [a>=0, b<= TMAX], the solution is x(t)=0 and v(t)=0
  • Type 2 : for all t in some range [b>=0, c<= TMAX] {x(t), v(t)} is the solution of the differential system

The end of the simulation corresponds :

  • either to t=TMAX
  • either to x(t) = CMAX where CMAX is some predefined value for x(t)

I use events to manage the two following situations 

  • x(t) = CMAX
  • x(t) = 0 and v(t) < 0 : this is the situation which describes the transition between Type 2 solutution and Type 1 solution

The global solution is constructed by assembling partial solutions over subranges [0, b[1]], [b[1], b[2]], [b[2], b[3]] ... where type 1 solutions "live" in [b[n], b[n+1]] if n is odd and type 2 solutions in  [b[n], b[n+1]] if  n is even.
The assembly of the partial solutions doesn't work correctly : I identified the reason but I'm not capable to fix it.
If you look to the red instructions on yellow background you will see they do not return the same answer than the pink instructions (look to the blue outputs over the plot) . 

This is probably due to a very big mistake on my part  but I can't fix it !

Once again, if my explanations are not sufficient or if I'm not enough clear, feel free to ask me any questions you need.

Thanks in advance



I wanted to calculate the bessel function's limit, but there is no results.



constants := s



eq1 := `assuming`([limit(MTM:-bessely(1, -I*r*sqrt(s)), infinity)], [s > 0])

BesselY(1, -(infinity*I)*s^(1/2))


eq2 := eval(eq1)

BesselY(1, -(infinity*I)*s^(1/2))


eq3 := `assuming`([limit(MTM:-bessely(1, -I*r), infinity)], [s > 0])

BesselY(1, -infinity*I)


eq4 := eval(eq3)

BesselY(1, -infinity*I)


eq5 := `assuming`([limit(beselj(1, -I*r*sqrt(s)), infinity)], [s > 0])

beselj(1, -(infinity*I)*s^(1/2))


eq6 := eval(eq5)

beselj(1, -(infinity*I)*s^(1/2))


eq7 := `assuming`([limit(MTM:-besselj(1, -I*r), infinity)], [s > 0])

-I*BesselI(1, infinity)






The initial conditions are U[13.75]=0.7787 and U'[13.75]=0.344037

Dear users! I need the help in attached file. Please see and fix it. I am waiting your positive answer.

Hi everybody,

I use the Grid package to do intensive computations.

For some reason I'm ignorant about, the test case described in the Grid[Server][StartServer] 

 help page doesn't work with Maple 2015 (neither on Mac OS X, neither on Windows 7 ; here is the mw file run on MAC Os X)

Could someone explain me why (probably something I did not read with enough attention ... some license maybe) ?
Thanks in advance

I try to reproduce in Maple this document in pdf. In it you can see the code in MathCad to find the roots of a system of equations by the method of Draghilev.
After seeing some of the codes posted in the Maple forum where the development of the method is shown and reading the document in the Application Center, some questions arise.
When the deferential ecacuion system is divided, in this case stored in variale b [i], by b [i] / (b [1] ^ 2 + b [2] ^ 2) ^ 0.5; i = 1..n + 1
Why, as I could see in some systems, the first two differential equations are taken and in others it takes three?
And in what systems does it divide at all?


In this case in my transfer of code from Mathcad to Maple I do not get the initial values of the system fsolve calculates indefinitely



I'm trying to evaluate an integral (code snippet and screen-shot included below) assuming that certain parameters and integers. Using assume statements the integral evaluates to 0. However, if I evaluate the integral for a specific set of integers, the integral evaluates as non-zero.

Can anyone clarify why the two int statements return different values?


int(sin(K*x)*sin(L*x)*cos(M*x), x = 0 .. Pi);
     returns: 0
int(sin(14*x)*sin(2*x)*cos(12*x), x = 0 .. Pi);
     returns: Pi/4

How do you way text below

Maple 2015 

if i use function cat() is not 


The attached worksheet performs two functions:

(1) It lets me print 4 × 6 Index Cards for the short entries in each table.

(2) It allows for easy storage and retrieval of syntax (code).

The worksheet has many tables, each separated by a Page Break.


(a) Is there a way to sort all the different tables so they will be arranged in alphebetical order?

(b) When I select one table to print and open the Print Dialog, the "Selection" option is grayed out. (see graphic below).  (1) Is there a way to enable the selection option?  (2) Is there a way to determine what page I am on so I can use the "Pages" option?  If I need to number the pages, will the page numbers reset to parallel a new alphabetic sort order.

Many thanks in advance.  See attached. And see image of Print Dialog below.


First 8 9 10 11 12 13 14 Last Page 10 of 60