Unanswered Questions

This page lists MaplePrimes questions that have not yet received an answer

 

The attached document is an imported markdown document originally prepared by ChatGPT. I am attempting to edit this document into a form where I have written the conceptual statement in conventional math notation after which I show the calculation in maple statements. The document includes a module in the startup code area which exports routines to implement   a  simple form of finite functions.  My overall purpose is to work through a standard textbook presentation of the subject using ChatGPT as a tutor and then capture the chats into comprehensive notes.  Aside from the difficulty of wrestling the maple document into presentable form, I am having problems with the typesetting routines parsing non-executable math notation and throwing errors. In particular, paragraph 2 of the document has a problem with the non-executable setbuilder notation. Does anyone know how to clear this error or how to prevent the error from happening.

Download Powersetmappings2.mw

Is this a bug in Maple?  it gives error in Maple 2026.2 and also Maple 2025.2

restart;

ode:=-1/diff(Y(X),X)^3*diff(diff(Y(X),X),X)+4*X = piecewise(0 <= Y(X) and Y(X) < Pi,0,Pi <= Y(X) and Y(X) < 2*Pi,10,2*Pi <= Y(X),0);

solve(ode,diff(Y(X),X$2))

workaround is to use isolate instead of solve or Solve:

 

 

But why solve fails just because RHS is piecewise ?

Wanted to check before sending bug report in case it is by design.

I just opened maple to use it, and I receieved a notice that an update was available.  I proceeded with the update and it failed to install, complaining that "open programs" needed to be closed.  There were no open programs so I opted to have the installer "ignore" the warning.  However, it would not continue and it gave a list of two programs that were in use (even though I had closed Maple).  This is a snapshot of the warning.

 

It appears that the update may have completed as the maple version that appears during startup is 2026.1.  However, the program is very slow to open a new document (I have to click on the "New Document" button several times before it response) and very slow to close.(I have to click on the "X" icon (upper right of top menu) before it will close.

 

Any help would be appreciated.

Regards,

Frank DiJoseph

What are the best techniques for performing introspection in Maple Documents?

I would like to use the content within a Maple Document (.mw) as input to calculations and operations within the same document. I am aware of the DocumentTools Package, but it seems that needs to open a copy of the current document to perform operations and is dependent on the current document being saved to disk rather than working with what is already in memory. What techniques are available to work with the document's data model and content within the document, such section headings, section structure, and paragraph text content - as opposed to just the variables that have been defined?
 

Any suggestions for Electronic Laboratory Notebook (ELN) systems that work well with Maple Documents?

I find Maple Documents (.mw) useful for scientific work and data analysis. I frequently organize my documents in the style of a laboratory notebook experiment. The collapsible section heading and execution repeatability are key capabilities. Managing a collection of Maple Documents over time via file systems and revision controls systems (e.g., Git) is adequate, however it seems the workflow support and compliance capabilities of an ELN would be useful as well. A typical tension in the class of ELN systems is that many of them are prescriptive about the editor, requiring or strongly encouraging something like a web-based WYSIWYG editor that lacks the literate programming capabilities of Maple. If anyone has had a good experience taking advantage of ELN capabilities without them interfering with a Maple-document centric authoring workflow, please let me know.

Error, (in LinearAlgebra:-Modular:-IntegerLinearSolve) invalid arguments to iratrecon

I ran a procedure that uses only `solve/linear`. The above error was returned. Any ideas how to prevent it or why it happened?

How does `solve/linear` reach LinearAlgebra:-Modular:-IntegerLinearSolve?

Does Maple natively work while using a VPN? If not, where do I go to learn how to configure it so it will work using a VPN? In Maple 2025 and Maple 2026, Maple will soft-lock when when attempting to execute any worksheet or attempting to read any help section when using a VPN under the default configuration configuration of Maple. 

I'm trying to play around using Maple from other programs (Python, Grasshopper, etc.).

As far as I can see the options are cmaple.exe (command line) and OpenMaple.

Regarding OpenMaple I'm stuck with getting it to work. As far as I can see, I need to define the MAPLE variable, and extend the path, right?

I've added 2 things to the user environment variable in Windows.

MAPLE=C:\Program Files\Maple 2026
Path=.....;C:\Program Files\Maple 2026\bin.X86_64_WINDOWS

To test I've used the program provided in the help file.

import maplesoft.maple.namespace as msymbol

Unfortunately I get: ModuleNotFoundError: No module named 'maplesoft'

Any hints?

If I compare Maple 2024 and Maple 2022 on the exact same worksheet, Maple 2022 executes twice as fast as Maple 2024.

For my kind of work this is very serious. I have programs that can take 10 or more days to complete calcuations, therefore what Maple 2022 will calculate in 10 days, Maple 2024 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 Maple 2022 and Maple 2024 respectively and note execution time.
4) This was run on Linux.

As you will see the Maple 2024 calculation takes twice as long as the Maple 2022 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,

Maple 2024
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

Maple 2022
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

Is Maple 2026 compatible with Mac OS27.1 ___________________________________________________________

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

On my installations I can neither convert nor copy/paste code with comments from 2D-Math to 1D without loosing the comments.
Also pasting to Word removes the comments.

Is that a known behaviour? Any workarounds?

This input

" #` Parameters #`  "(* *)"  H = 0.01; #` height in meter`  R := 0.006*3/2; #` Radius in m`  k := 0.540; #` conductivity in W/m/K`  rho := 1060.0; #` density in kg/m^3`"

1060.0

(1)

copy and paste here

> 

H = 0.01;
R := 0.006*3/2;
k := 0.540;
rho := 1060.0;

H = 0.1e-1

 

0.9000000000e-2

 

.540

 

1060.0

(2)

or here

H = 0.01;

Download copy_comments.mw

In the same sheet (Engineering Notation)

you can have: 

 

and

  

and even correct formating ... 

but there is no possibility to correct anything, it just ignores the settings ... unfortunately, I am pushed to use an older version ...

Hope this will change.

I specifically want to install the Maple 2024 version as I am implementing a open-source research project which specifically states the requirement of Maple 2024, but in the 15 days free trial version I am not able to to so, can someone please help me!

Hi everyone,

I am experiencing what appears to be a problem with Numeric Formatting in Maple 2026.

I have a worksheet where I calculate a numerical value using evalf, for example:

evalf(1 - (3.7*90)/(10.4*3600))

which returns

0.4663461539

When I select the output and use the Context Panel → Numeric Format, for example:

  • Percent
  • 2 decimal places

the preview in the math container changes accordingly (e.g. showing something like 0.45), but the actual numerical output below still displays as

0.4663461539

Changing the number format, decimal places, scientific notation, etc. seems to have no effect on the displayed output.

Even if not using  evalf.

Is this the expected behavior in Maple 2026?

  • Does Numeric Formatting only apply to certain types of expressions or math containers?
  • Is there a known issue with formatting numerical output generated by evalf?
  • Am I missing a setting that enables formatting of worksheet output?

I have attached a screenshot illustrating the problem.

Any help or clarification would be appreciated.

Thanks!

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