n9531l

281 Reputation

6 Badges

12 years, 226 days

MaplePrimes Activity


These are answers submitted by n9531l

Acer, thanks for the info on Plouffe's inverter.  At 50 digits, it can do both Zeta(8) and Zeta(16), but not Zeta(8)/Zeta(16).  (That was the expression I mentioned with Pi^8.)  The Maple identify command can do Zeta(8) only, and identifies it as Pi^8/9450.  When the new version of the inverter shows up, I'll see if it's any different on these constants.

As I read the help page, the constants in BasisProdConst only matter for test 9.  Why doesn't 106/Pi^4, for example, match the a[n]*t^k term of test 5?

It seems to me that the workarounds require me to know in advance that Pi is the pertinent basis item.  In general I will only start with a floating point number, and I want identify to do some magic on it.  It looks like I am expecting too much of identify.  Next I was going to ask it to get from a floating point number to 34459425/(3617Pi^8).

I didn't know Maple could do this.  Although not worthy of inclusion in the Maple User Manual, identify is one I will definitely remember.

I knew of the original result as one due to Ramanujan, but I didn't realize it was a special case of an Euler product.  So I am thankful to Robert for posting these formulas, and I agree teaching them to Maple would be a good thing.

Unfortunately not, but Maple can do sum(1/k!, k=0..infinity), so at least it is as strong as Euler.

Actually, I was hoping (am still hoping) to prompt one of the gurus to talk about the philosophy and implementation of the product command.

Jacques, thanks for providing this perspective.  It is something I need to remember when I am tempted to criticize the responses of the tech support people.  And thanks for mentioning "surreal" answers.  I had not been able to think of the right adjective.

Doug, I think you are probably right.  But shouldn't Tech Support just say that a feature is not being supported, instead of arguing that a bug in it is actually desired behavior that hasn't been documented?  To be fair, I did finally learn that the maplet would run standalone, so anyone that wants to use Maplet Builder (not me, now) can do so if they avoid trying to run the maplet from inside Maplet Builder.  For a new user like me, naively reading the User Manual, learning this was a little more painful than it might have been.

But if you found an integral that gives a wrong result and reported it to Maplesoft Tech Support, and you got the same treatment I did, you would be told that this is not a bug in Maple.  Instead, it is just a documentation error for failing to tell you that you are not supposed to take that particular integral.  After a few responses like that, you would probably stop submitting problem reports.

 

Jacques and jakubi, I wonder if it occurred to you that some users don't report problems because they suspect doing so would be time wasted.  Below are exchanges following two problem reports I sent to Maplesoft Technical Support.  They need to be read from the bottom up.  I would like your opinions on the replies I received.

----------------------------------------------------------------------------------------------------

RE: Problem in Maple 11 using MathMLViewer from Maplet Builder
From: Bob Baker (b_baker@hotmail.com)
Sent:
Tue 4/01/08 5:04 PM
To:
Maplesoft Technical Support (support@maplesoft.com)

Ian,
 
I ran Maplet Builder and created my super-simple maplet to send "1" to MathMLViewer.  Then I saved it as a maplet file and from outside Maple double-clicked the file.  It executed properly, with no error message.
 
Your belief that Maplet Builder is working as designed is probably not something you will be able to make me understand.
 
My belief that this behavior represents a problem in Maplet Builder beyond documentation is probably not something I will be able to make you understand.
 
So, I think we can stop here.  Thanks for the time and work you have put in on this problem.
 
Bob


Subject: RE: Problem in Maple 11 using MathMLViewer from Maplet Builder
Date: Tue, 1 Apr 2008 16:55:11 -0400
From: Support@maplesoft.com
To: b_baker@hotmail.com
CC: Support@maplesoft.com

Dear Bob,

as I mentioned in my last email we would have to look at the problem a little closer to determine where the problem was; at this juncture I think I have clearly managed to diagnose the behaviour and I believe I know what is happening.

The difference between your original example and the one in the help page are not relevant to the error message being received; the origin of the error is the same. If I try to test the Maplet using the ‘run’ option in the Maplet builder I will receive the error but if I save the Maplet and execute it from my desktop by double-clicking on it the Maplet works as intended. An analogy for the error is that running Java or C code that includes reference calls to a library which is not available at runtime and must be compiled first.  

When authoring Maplets, you can use the Maplet Builder (GUI-based) or the Maplets package (syntax-based). The Maplet Builder allows you to drag and drop buttons, sliders, text regions, and other elements to define the Maplet application and set the element properties to perform an action upon

selection or update of the element. The Maplet Builder is designed to create simple Maplets. The Maplets package offers more capabilities, control and options when designing complicated Maplet applications. 

The difficulty is knowing what a simple Maplet is and what it is not. For instance if you create a Maplet with a plotter element and a button that plots sin(x) and then user the Maplet Builder interface to run it this is okay; no run-time errors are generated. Change this to your MathMLViewer example and an error is generated.

The Maplet attached to this email is one I created with the Maplet builder and saved. If you put it on your desktop and double click on it I’m confident it should work properly.

I believe instead of being a problem with the MathML Builder this is something that should be in our documentation; certain things are not compatible with the “run” dialogue box in the Maplet Builder.

As an additional note there is additional information on Maplets and the Maplet builder available in our Users’ Manual and Introductory Programming Guide which are available on our website for free:

http://www.maplesoft.com/documentation%5Fcenter/

Regards,
 

Ian
Maplesoft Technical Support
www.maplesoft.com/support/


From: Bob Baker [mailto:b_baker@hotmail.com]
Sent: Friday, March 28, 2008 7:25 PM
To: Maplesoft Technical Support
Subject: RE: Problem in Maple 11 using MathMLViewer from Maplet Builder
 

Ian,
 
I didn't mention I was following an example in your documentation before because I didn't try following an example in your documentation until I got your suggestion in your next-to-last message that I look at the examples in your documentation.  I mentioned I was following an example in your documentation in the first message I sent you after trying it.  I guess what I neglected to do was use psychic powers to predict you would be telling me to look at examples in the documentation and I would be doing so.
 
The original example I gave you was the simplest possible case I could imagine of using the MathMLViewer from Maplet Builder: create a MathMLViewer window and a button that sends "1" to it.  If Maplet Builder can't do this on its own, it is hard to believe it can do anything harder or more useful.
 
I reread my messages to verify I never suggested the failing example from the documention was the same example as the failing example I first described to you.  Only the error message was the same.
 
I wish you had replied, "NOW we see the problem and will get it fixed."  Or maybe, "We cannot reproduce the problem," if that is the case.
 
Bob


Subject: RE: Problem in Maple 11 using MathMLViewer from Maplet Builder
Date: Fri, 28 Mar 2008 12:35:41 -0400
From: Support@maplesoft.com
To: b_baker@hotmail.com
CC: Support@maplesoft.com

Bob,

You neglected to mention previously that you were following an example in our documentation. As I’m sure you can imagine it can be rather difficult to ascertain exactly what/where a problem lies if we do not get complete information from our users so in general the more you can tell us the more helpful we can be.

Given our previous discussion of things that may have been left out of the documentation I think it’s fair to say that this may not be a problem with the Maplet builder but it is possible that it’s an error in the documentation. We will have to investigate further to determine where the problem lies.

Under our previous assumptions about what it was you were doing it was possible that you had attempted something that had not been intended in the Maplet builder hence the suggestion to use the code. Also most people find directly editing the code more robust.

The graphical interfaces for the Maplet builders and other similar applications are not with out limitations. For instance, in the  Single-Variable Calculus tutor it is not possible to integrate a function from the bounds a to b yet this is easily done in the standard interface to Maple. At the same time you can use the tutor to integrate a function from the bounds 1 to 2 with out difficulty.
 

This does not defeat the purpose of the graphical integration tutor as it acts in addition to the standard Maple interface.

Regards,
 

Ian
Maplesoft Technical Support
www.maplesoft.com/support/


From: Bob Baker [mailto:b_baker@hotmail.com]
Sent: Thursday, March 27, 2008 6:53 PM
To: Maplesoft Technical Support
Subject: RE: Problem in Maple 11 using MathMLViewer from Maplet Builder
 

Ian,
 
I found an example in the Maplet Builder help files for MathMLViewer.  I followed the steps of the example exactly and when I ran it, instead of the results shown in the help file, I got the error message I reported.  Given this behavior, how can you not think the Maplet Builder is broken?
 
Your suggestion defeats the purpose of a direct interactive graphical user interface to the Maple engine.
 
I wish you had said, "We see the problem and will get it fixed."
 
Bob Baker


Subject: RE: Problem in Maple 11 using MathMLViewer from Maplet Builder
Date: Thu, 27 Mar 2008 16:18:47 -0400
From: Support@maplesoft.com
To: b_baker@hotmail.com
CC: Support@maplesoft.com

Hi Bob,

we don’t think the Maplet builder is broken so much as it may be trying to do too much in this case (ie. it is calling ExportPresentation when you assign to it, even without being asked). Maple sometimes tries to do things for the user in an intelligent way and bumbles it.

The suggestion we have for you is to use the Maplet builder as a tool to design and do the layout of your Maplets but you can then modify the code in Maple itself. Once you do this you will not be able to open the Maplet file in the Maplet Builder however.

This is what I’ve done in the Maplet file I’ve attached; generated the layout and modified the file to use the MathML[Export] command in the button.

Please review the code in the Maplet file by opening it Maple, I think it should help you. Also, the help files in Maple contain many examples of sample Maplet code which should be helpful, search a “text” search for “Maplets” and you will get many example worksheets.

I hope this helps.

Cheers,
 

Ian
Maplesoft Technical Support
www.maplesoft.com/support/


From: Bob Baker [mailto:b_baker@hotmail.com]
Sent: Tuesday, March 25, 2008 5:19 PM
To: Maplesoft Technical Support
Subject: Problem in Maple 11 using MathMLViewer from Maplet Builder
 

I recently installed Maple 11 and have just been looking at the Maplet Builder.  I'm having trouble with MathMLViewer.  In the simplest case, I created a maplet with 2 elements, a MathMLViewer and a button.  I set clickButton1 to evaluate the expression MathML[Export](1) with MathMLViewer1 as the target.  Then I ran the maplet and clicked the button, expecting to see 1 in the viewer.  Instead an error box titled Dispatch popped up saying, invalid input: XMLTools:-NSXML:-Parser:-processOutputString uses a 1st argument, str, which is missing. 
 
This has happened every time I've tried to export to MathMLViewer.  Is Maplet Builder broken, or am I doing this wrong?
 
Thanks, Bob Baker 


 

--------------------------------------------------------------------------------------------

After a week, I've had no reply to my message below.  I don't expect to get one.

--------------------------------------------------------------------------------------------

RE: Documentation of solve command
From: Bob Baker (b_baker@hotmail.com)
Sent:
Wed 3/26/08 8:32 AM
To:
Maplesoft Technical Support (support@maplesoft.com)
Ian,
 
Thanks for the reply.  My other question is whether there is an updated ?solve/details currently in preparation and when you anticipate its release.
 
Bob Baker

Subject: RE: Documentation of solve command
Date: Wed, 26 Mar 2008 10:39:57 -0400
From: Support@maplesoft.com
To: b_baker@hotmail.com
CC: Support@maplesoft.com

Dear Bob,

there is not a newer version of the help pages available that contains this information. If you consult with some of the users on MaplePrimes you may become aware of many undocumented behaviours in Maple; with a help system the size of Maples’ it can be quite a challenge to document everything and we certainly appreciate when our users can point out problems in them to us. It is also possible that this was an accidental omission

At the same time there are options and undocumented capabilities in Maple which are not intended for general use.  Some of this was discussed on the MaplePrimes thread.

Please let us know if you have any other questions.

Regards,
 

Ian
Maplesoft Technical Support
www.maplesoft.com/support/


From: Bob Baker [mailto:b_baker@hotmail.com]
Sent: Tuesday, March 25, 2008 5:49 PM
To: Maplesoft Technical Support
Subject: Documentation of solve command
 

I recently installed Maple 11 and was able to get some help on MaplePrimes requiring that I add 'Explicit' as a third argument to the solve command.  But ?solve/details does not mention any possibility of solve having three arguments.  Is there a newer version of ?solve/details than the one I received?
 
Thanks,
Bob Baker
 

Robert, sometimes a and/or c will be zero and somtimes b and/or d will be 1 (these are perfectly good integers).  So I think your suggestion will give me the best results.  Thanks.

What are my chances of getting someone else to try this in Maple 11 using Maplet Builder?  If I learned the error is not due to some simple mistake by me, my next step would be to report it as a problem to Maplesoft.

 

Thanks, Robert.  Those looked like Maple commands.  I tried them and they work for me too.

My question is why I can't get this to work using Maplet Builder.  I'm assuming I've done something wrong and if Maplet Builder were broken there would be a lot of people complaining about it.

 

Page 1 of 1