Items tagged with maple maple Tagged Items Feed


I have a procedure wich is something like 


F:=proc(a,b,l) limit(f(a,b),b=l); end proc;

For my specific problem, the limit always exists and is a well defined function

After that, I would like to generate other functions, depending on F(a,b,l), e.g.:


G:=proc(a,b,N) add(F(a,b,l),l=1..N); end proc;


However, when I tried to do that, Maple inserts in G an unevaluated F, depending on the results of the limits. This makes G not work properly (unevaluated), since the limit is not computed before G. I tried to use some intermediate steps, like using unapply command, but it does not works.

If someone can help, I would appreciate.




sorry for that question, i'm a beginner in maple but i think my question is not as simple.

So, i want to solve numerically this first equation :

but the second term is present only if k*(U*t-x)>μc*m*g  (stick-slip problem)

initial conditions : U=1m/s; x=0m; k=10 for example

My problem is simple, i don't know how to use conditional statement for such an ode in maple.

I've tried > Xr := U*t-x;
> k := 10; m := 1; g := 10; mu := .2;
> if k*Xr > mu*m*g then ode1 := m*(diff(x(t), t, t)) = k.Xr-mu*m*g else ode1 := m*(diff(x(t), t, t)) = k.Xr end if;

But, of course, too optimistic.

Thank to anyone who will solve that (isuppose) simple problem


Hi, I have a function as following:


where d1=0.01..0.06, d2>=d1, d3>=d2, d4>=d3, a1>0,a2>0, a1+a2<0.6.

I want to get  all the solutions of d1,d2,d3,d4,a1,a2, which satify the equation and the constrains, is there any way to solve this problem by using maple?




Maybe a bit strange question (just exploring Maple and a new topic), but is there a way to use CylindricalAlgebraicDecompose with a rational functions, eg 1/x, where eg is x an integer? I tried to use it but always ended up with:


Error, invalid input: RegularChains:-SemiAlgebraicSetTools:-CylindricalAlgebraicDecompose expects its 1st argument, F, to be of type Or(list(list(Or(polynom(rational), polynom(rational) = polynom(rational), polynom(rational) <> polynom(rational), polynom(rational) <= polynom(rational), polynom(rational) < polynom(rational)))), list(polynom(rational))), but received [1/x = x, polynom(rational)]

Maple 18 and MapleNet 2015.

Show/Hide Contents allows one to hide certain elements of the worksheet. Is there a way settings there (or somewhere) can be locked so that another user is prevented from seeing certain elements of the worksheet?

Rationale: As an example: I'd like my students to use Maple Player to interact with a worksheet, using Maple Component GUI elemnts. I do not want them to see all the code behind that, and in fact explicitly want to rule them seeing some function definitions. I can hide "input, output" when I create the document, but under "View" in Maple Player, the intrepid student could always unhide that and see the code.

As I am beginner in maple, how to verify Bianchi Identities?

For Riemannian manifold,

1) R(X, Y)*Z+R(Y, Z)*X+R(Z, X)*Y = 0 

2) ((&nabla;)[X]R)(Y,Z)W+((&nabla;)[Y]R)(Z,X)W+((&nabla;)[Z]R)(X,Y)W=0

I am not getting how to define vector fields. From my previous question I understood defining vector fields particularly. From that post I tried to verify the proof, but I cant. Please tell me about how to define vector fields without taking examples.

Thank in advance.

Hi everyone,

I would like to use structs

    struct sname {

in my C code defined elsewhere. How do I get CodeGeneration to produce variable names like



The appoach to use the respective maple data type

  sname := Record('smem1', 'smem2'):

results in

    Warning, procedure/module options ignored
    double smem1;
    double smem2;

and the appoach to define it as name


results in

    Warning, the following variable name replacements were made: sname.smem1 -> cg0
    cg = cg0;

Your answer is appreciated


Here are some tips and tricks that will help you get the most out of Maple 2015, covering from short cuts to how to use the newest features.

    1. Whenever you are asking yourself “..but how do I do it?”, just type ?Portal+Enter, and you will access the Maple Portal, which will give you a complete guide on how to do things.

    2. If you want to implement 1 of the 300 tasks that Maple offers in a syntax-free way, like Completing the Square, just follow this path: Tools≻Tasks≻Browse.

    3. Type Ctrl+F2 or Command+F2 and the Quick Reference window with shortcut keys and other information about working with the Maple interface will pop up.

    4. If you need quick help with a specific mathematical function, click or highlight the function + F2 and a Help box that contains a summary of the basic characteristics of the function will pop up.

    5. If you have installed the Excel Add-in and you want to perform some Maple commands within Excel, make sure to enable the Maple add in by following this path: Excel’s Tool Menu>Add-Ins>Select Maple Excel Add-in Box> OK

    6. Export Maple’s data into Excel by right clicking and choosing ‘Export As’>Excel.

    7. Instead of having to copy-paste your Maple information into a Power Point Presentation, just turn the slideshow mode on by pressing F11. This way you will have an interactive presentation that holds all the live plots and embedded components that Maple offers.

    8. Whenever you want to create interactive mini-applications that can be used to explore the parameters of any arbitrary Maple expression, such as a plot, mathematical equation, or command use the Exploration Assistant. Do this by either right-clicking +Explore from the context-sensitive menus, or by calling the Explore command.

    9. Save time while computing mathematical expressions by calling the equation label instead of having to re-type the equation. Do this by pressing CTRL+L and then input the number that identifies the equation.

    10. Reference mathematical equations or expressions from other documents. First, determine which label is associated with the equation you want. In the main document, select "Insert" > "Reference". From the file dialog, select the file containing the expression. Then select the equation reference number of your equation from the list that appears.

    11. In Maple, the letter "e" entered using the keyboard does not represent the exponential function. The exponential function can be entered using command completion (Ctrl+Space or ESC) or the "exp(a)" item in the Expression Palette (Standard interface only). The exponential can also be entered as:          
      > exp(x)

    12. With Maple 2015 you can now access data sets from various built-in and online data sources. This package is able to access time series data from the data aggregator Quandl, as well as locally installed data from countries and cities. To learn more, click here.

    13. Whenever you assign plots to a variable name, p:=[plot(sin(x)), plot(cos(x))] a thumbnail of the plot will appear instead of the code.

    14. Save time when inputting existing or personalized units. Just click CTRL+SHIFT+U and type the desired units you want.

    15. With Maple 2015 you can now zoom in or out just by pressing CTRL+SCROLL or CTRL+ place two fingers on the pad and move them up to zoom in or down to zoom out.

    16. Convert a Maple Worksheet into Microsoft Word: This can be done using the Export to HTML feature.
      1. Prepare your worksheet as you would like it to appear in the document.
      2. From the "File" menu in Maple, select "Export As ..." > "HTML".
      3. Give the HTML file a name, "output.html" for example.
      4. When the export has completed, start Word, and open the HTML file. If you used "output.html" as the name to save the file as, open the file called "output1.html" into Word.
      5. From the "File" menu in Word, select "Save as Word Document" to save the file. You now have a Word document which contains the content of your Maple worksheet.

        Note: this procedure will work with any Word Processing program that can open an HTML document.

    17. Change Maple’s default input from 2D to 1D:
      1. Open the Tools > Options... menu (Maple > Preferences on a MACINTOSH machine).
      2. Select the Display tab
      3. From "Input Display" menu select Maple Notation
      4. Press the Apply to Session button to make the change take effect for the current Maple session.
      5. Press Apply Globally to have the change take effect permanently. Maple will need to be restarted if you choose Apply Globally for the changes to take effect.

        You may download a set of instruction on how to change your 2D interface to the “Classic” Style here:

We hope that you find this list helpful. Please feel free to add any of your tips or techniques to this post, or to create your own new topic.

I have a expression: (x-2)/(x-2) and I want to retrieve all the variables of this expression.

I tried the following commands:

1. indets(expr, name);

2. indets(numer(expr),name);

but all i get is an empty seems that maple will first simplify the expression and then figure out what variables are related to the given expression.


Is there any workaroud to achive what i want?


I have calculated coefficients in maple using a "for...end do" command. For example,

for n from 0 to 1 do A[n] = int(((2*n+1)*(1/2))*simplify(LegendreP(n, cos(theta)))*sin(theta), theta = 0 .. (1/2)*Pi) end do;

A[0] = 1/2

A[1] = 3/4


Here, I can calculate as many coefficients as I want. But, how do I use these coefficients in the following line? For example, I need to calculate a summation. But for each term in the summation, I want to input the coefficients above to the corresponding term in the sum. So. the following summation


will automaticlly attach the numerical values of the coefficients calculated above to the corresponding term in the sum.


I hope this makes sense.

Which Maple versions will run on Windows 10? Windows 10 is offered free to users of Windows 7 and 8.1. Several (including old) Maple versions run on Windows 7.

Hello There:

I used to display module bodies with eval with former Maple version: it seems not to work with Maple 2015: any idea ?

Thanks in advance,


3 different dia circular cheeses. same depth. minimize cuts such that its divided equaly among four people.

can be done in 3 cuts. can evem be done in 2







could some erudite richard provide maple solution to this Q. thx



reinstalled m18, i used to have an ini file, but it got deleted.

so i made a text file, called it maple.ini with the following text: 

print("maple init loaded...");

I placed it

 C:\Program Files\Maple 18\


 C:\Program Files\Maple 18\lib


C:\Program Files\Maple 18\Users

it doesnt load when i load maple!

Why does my Maple 2015 constantly pause to redraw symbols in pinned palettes?  Really seems to slow down my use of the program.  Had this problem in previous versions also.  Using OSX Yosemite latest version.

1 2 3 4 5 6 7 Last Page 1 of 271