nm

11483 Reputation

20 Badges

13 years, 85 days

MaplePrimes Activity


These are replies submitted by nm

@Christopher2222 

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.

@acer 

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:

interface(verboseproc=3);
showstat(Logic:-Satisfy);

.....

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.

   removeProducts(c+a^m*b^n);

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

   p1(c+a^m*b^n,[a,b]);

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. 

@Kitonum 

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);
P(a^b*c);

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.

 

@Carl Love 

"This trend of using equation label references in help pages is deplorable."

It seems this trend is also creeping into Maple official documenation. Here is from the official Maple programmingGuide.pdf, downloaded from Maple web site

Page 25 from

 

If the "programming guide" is using deplorable programming, is there any hope left?

@Carl Love 

" This trend of using equation label references in help pages is deplorable."

Not only deplorable, but ridiculous also. We used to assign results to variables. Not "labels".

Maplesoft is trying very hard to the kill classical Maple programming language and the original spirit of Maple. Now one does not understand Maple code any more looking at the web pages of Maplesoft. 

They took away the original Maple classical interface few versions away, and now they want to push this clickable calculus and document mode and the Microsoft word way of doing things on us users. But trying to turn Maple file to something like a Microsoft word, all what this does is drive more people, who view Maple as a programming first, away from Maple to other platforms.

No wonder Maple is used less and less all the time around the world. Just look around and see. I do not undersatand how someone can defend these broken maple help web pages. Full of broken Javascript code and bloated stuff.  Keep pages simple, use plain text for input and 2D for output, and keep things easy to use, clear and simple.  Cut down the bloated javascript.

A help page where one can not copy-paste code from it is useless.

Bring back old classical Maple language, concetrate on real Math and better packages and documenation, and not on menus and 2D buttons and flashy Javascript pages and half working apps. May be there is still hope for Maple if this is done.

@Kitonum 

In this case, it is even worst.

It means it assumes the user is using the document mode and not plain text worksheet (original Maple code).

If Maplesoft want to force users to use math mode document mode even if they do not want, then Maplesoft is mistaken and will end up losing more customers.

The online help pages are getting worst and worst all the time and hard to read and use. One can't even copy-paste code from it.

First 74 75 76 77 78 79 80 Last Page 76 of 91