1255 Reputation

13 Badges

4 years, 185 days

MaplePrimes Activity

These are replies submitted by nm

"and it prints nothing. What is the problem?"


It prints something. It prints

                 0, 0, 0, 0, 1

Maple 2016.1


how do you expect someone to copy source code pasted as image? 



I used showstat(limit) as just an example. I did not want to show my ugly looking Maple code for illustration:)

I did not think it makes any difference? I am just looking for a way to make Maple not wrap long lines. But if you know of way to make it work  only for user code typed and not for showstat() output, then I will be happy with that also.

thank you


Interesting problem. This is how it can be done in Mathematica, fyi

a = {1, 4, 2, 6, 8}
Sort@Select[FromDigits[#] & /@ Rest@Permutations[a, 5], # < 50 &]

    {1, 2, 4, 6, 8, 12, 14, 16, 18, 21, 24, 26, 28, 41, 42, 46, 48}



<StackExchange sites are strictly Q&A. There's not much room for the back-and-forth discussion that's often needed to reformulate the Question,>

Well, there is actually. If Maple gets its own forum, then there are chat that comes with it. Chat is very popular, where many people can chat on a technical subject or question. Many times if clarification is needed, one goes to chat.  

I am surprised that it is hard to get just 200 people to make a Maple forum. I assumed there are hundreds of thousands of Maple users in the world. (Wolfram claims there are over 3 million Mathematica users for example), so I do not see why is it that hard to get just 200 Maple users to sign up for a Maple forum to be created. 

On adding worksheets: It is not a good idea to do that here or at Stackexchange. Code just always be added as plain text only. This is what happens at stackexchange Mathematica forum for example. No one attaches a notebook there either. And this is best for everyone.

<Once again, anything that you can do to make the look and feel similar to any StackExchange forum would be an improvement.>

Would it not be easier to simply try to make a Maple forum at stackexchange? Similar to Mathematica's?  Which is very nice to use and very popular.

Why try to re-invent the wheel? 

@Carl Love 

" However, here on MaplePrimes, there have been hundreds, perhaps thousands, of Questions about third-order BVPs"

well, may be my google search skill is not that advanced. But after going over 2 full google search pages and not seeing an example, I gave up reading PDF files and pages, without seeing just an example. I was not looking for theory, I just wanted to know what the syntax is, that is all.

I was searching for exact syntax of how to specify B.C. for something other that first derivative, which I know. And that is what I could not find. But if you can find a link to such an example, please feel free to post it.

I do not think a user should spend hrs on google and on different forums searching just to find an example of how to do this. This is something that Maple help pages should have under examples section, just like Mathematica does, which contains many usage examples. I find searching Maple help pages very stressful experience each time I use them.

@Carl Love 

Thanks. That worked. If you know someone at Maplesoft, please ask them to improve documenation for dsolve. I searched and searched for one example showing how to specify these boundary conditions and could not find one example. I google also. All what I found is for just second order ODE.  

Much more examples are needed in Maple documenation.


Thanks., Sure, if you could share the code you have, I will be happy to try it. I appreciate Carl solution, but it is not practical to have a user to manually adjust ticks each time based on the scale used. In Mathematica, this is all done automatically.

I think this feature should be really part of Maple. In Mathematica, one can use BoxRatios on any 3D graphics. 


Logic:-Satisfy seems to leak 'p'. I do not understand the code well, but I see it makes 'p' inside it:



10 if type(B,specfunc(Logic:-`&or`)) then
11 if membertype('name',B,'p') then
12 s := {op(p,B) = true}
elif membertype(specfunc('name',Logic:-`&not`),B,'p') then
13 s := {op([p, 1],B) = false}
elif minimal = false and membertype(specfunc({specfunc('name',Logic:-`&not`), 'name'},`&and`),B,'p') then



@John Fredsted 

now it works. Thanks.

@Preben Alsholm 

thanks. This is very nice way to find out. But I am not sure how reliable it is. I did:

op(3,eval(inttrans:-laplace));  and got

`Copyright (c) 1991 by the University of Waterloo. All rights reserved.`

But when I did 

op(3,eval(sum)); I got

lock, `Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2005`

I do not know what "lock" means, and I am sure sum() command was in Maple before 2005? 

May be this just gives when a "copyright" was added to the commands, and not when the command or package was actually was in Maple?

@John Fredsted 

Thank you, but on Maple 2016, one test failed.


returned the same expression. But it should have returned "c" only. For example using the "p1" proc shown in the earlier answer, I get


returns "c".

The pattern should remove all expression that contains products of a^n*b^m with any powers. May be a small modification is all what is needed for your algorithm to make it work? 

if you can show how you would do it by hand, i.e. what you want the result to be, then someone will show you how to do in Maple. 


in Maple 2016, I get wrong answer for one test:

P := expr->evalindets(normal(expand(expr)), And(`*`, satisfies(t->nops(indets(t))>1)), t->0);

Gives zero. This should give back the same expression, since there is no "a*b"  product in the expression?

Also P(a+b*c); gives back "a". This should give back same expression, since there is no "a*b" expression there.


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