MaplePrimes Questions

Search Questions:

If I compare Maple24 and Maple22 on the exact same worksheet, Maple22 executes twice as fast as Maple24.
For my kind of work this is very serious. I have programs that can take 10 or more days to complete calcuations, therefore what Maple22 will calculate in 10 days, Maple24 takes 20 days. It has wasted a LOT of my time, whatever the reason is.

Here is the code: 
1) MM must be a high order series expansion with complex arguments so that simplification is not trivial. Use any such asymptotic expansion.
NOTE: I can supply an expansion for a developer through official Maple support, but cannot release it publicly as it is part of a future publication. It is easy enough for anyone to create a complex expansion, with difficult simplification.
2) The simplification of the expansion must at least take a couple of minutes at e.g. Order=10 for the comparison to make sense.
3) Then run the program for Maple22 and Maple24 respectively and note execution time.
4) This was run on Linux.

As you will see the Maple24 calculation takes twice as long as the Maple22 calculation. 
SEE RESULTS AT END OF PROGRAM.

 

testorder:=6;                             # Enter the expansion order here.
MM:=??:                                   # Enter the expansion here.
series(MM, x = 0, testorder):
convert(%, polynom):
map(simplify, %):
#collect(%, x, simplify):
simplify(%):

                        testorder := 6

 

RESULTS:

OPTION1 Calculation time for series MM,

Maple24
O(4):   Linux Wall-Clock Time: 1.000 seconds
O(6):   Linux Wall-Clock Time: 11.000 seconds
O(8):   Linux Wall-Clock Time: 153.000 seconds
O(10): Linux Wall-Clock Time: 2135.000 seconds 
O(12): Linux Wall-Clock Time:  19593.000 seconds

Maple22
O(4):   Linux Wall-Clock Time: 0.000 seconds
O(6):   Linux Wall-Clock Time: 9.000 seconds
O(8):   Linux Wall-Clock Time: 88.000 seconds
O(10): Linux Wall-Clock Time: 1062.000 seconds 
O(12): Linux Wall-Clock Time: 8987.000 seconds

I'm a long time Mathcad user and have considered migrating to Maple/Maple Flow. About a year ago I did a trial and found that there a number of Mathcad constructs that need manual conversion to function in Maple Flow so I chose to wait.

I saw a comment by Samir made on Maple Primes in July of this year that a new version of the Migration Assistant was just about ready for release. Can you let me know if that has happened and point me to a list of changes? I'm considering pulling the trigger on another round of testing and was hoping that some of the gaps have been closed. As an example of things that that required attention were iteration variables, handling of Vectors, unit/constant handling (especially Mathcad global definitions), and migration of graphs/plots.

I know that there are workarounds for all of these things - I'm not seek those specific solutions - just and update on the possible changes

Thank You!

-Joe

With thanks for the advice regarding quadratic Diophantine equations and tabulation, here is a little puzzle:
For a rectangular cuboid, the length of the space diagonal is known to be 90 cm and its surface area 8800 cm². Determine its integer edge lengths.

Is Maple 2026 compatible with Mac OS27.1 ___________________________________________________________

In the attached file, I would like to create a table of values ​​(k,f(k),g(k)) for the functions f and g for, e.g., k=1..10. I would appreciate your help with this, as f and g refer to reciprocity in their expressions.

test.mw

I want to do some timing tests on a bunch of procedures in a module, some of which call others, so I do not get the true timing I want - see attached.

Download Timing.mw

How to solve this Diophantine equation?

x^2-12*x*y+6*y^2+4*x+12*y-3=0    ?

I would appreciate some advice.

I am attaching two worksheets.  The first worksheet titled testflaw shows the original state of a module. The module in the startup code area contained two exported variables which were never implemented. The module had been used in testing the code.  The second worksheet testflaw2 shows the result after deleting the exported variables. (AsTable and TestAssociativity).  Note that when the worksheet opens a typesetting error code occurs.  It appears that the typesetting routines retain knowledge of the exported variables even after a Restart command.  

testflaw.mw    

testflaw.mw

I would like to have a list of sets and parallelize the same operation performed on each list. Any suggestions on how to do this? Thanks in advance.

Asking the small model (without including a worksheet)

what does x || (a, b, c) := y =~ x ^~ (1, 2, 3)

throws this error

Is that error message reproducible on other installations? Should be. 
Warning: The same question to the large model ate up 100000 credits. I added two more questions about operator precedence:

Reminds me of playing pinball when I was young. Either it tilts or you run out of money pretty quickly ;-)

Joking asside, any suggestions to improve my prompting to make the small model produce a correct answer?

A bundle of planes is here defined as the set of all planes in Cartesian (x, y, z)-space that intersect along the same straight line. This line is commonly referred to as the axis of the bundle. Is there an efficient method in Maple to model a bundle of planes in a simple, symbolic way?
The background to my request for advice is the following problem (for those interested in the puzzle), dating back to 1965:
Let a surface be given in Euclidean space. Suppose that every planar section of the surface is a circle, provided the section contains more than one point. Prove that the surface is a sphere.

edited:

Simple deductions are sufficient to solve the puzzle. Complex calculations are not necessary.

how we can find the X1 and X2 in such system with high degree power 

aaaa.mw

A Blog Post reminded me of an old problem from my Mathcad-days:
Given a torus and two points, P and Q, on its surface, calculate and graphically represent the shortest path from P to Q.

edited:
Can Mathcad worksheets (MC14) be converted into functional worksheets for Maple?

I've reported a Maple 2026 bug, that Maple becomed unresponsive, when using a Nvidia driver later than version 610. I described in detail, what happens and I described, that I can break down this issue to the release of the Nvidia driver.

And now I get a message, that a moderator deleted my post as SPAM? Wow! Maple is considering SPAM, when a technical issue is reported? I am completely disappointed.

deleted post:

https://www.mapleprimes.com/questions/243789-Maple-Gets-Unresponsive-With-Nvidia?sp=243789

What I want in fact is to do the plot in 3D that you can see by looking at the image I have insert (Gauss Fct 3D with Plane.png). The important part of the plot is to reproduce the grid of the xz plane and yz plane with the plot in bue and orange. That is what I would like to do when I plot the gaussian fct exp(-(x^2+y^2)). Can it be done?

Thank you in advance. If it is not possible, I will ask for that in the beta forum.

Mario

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