MaplePrimes Questions

There seems to be a regression in Maple 2026 in the XMLTools:-ParseFile function.

As Maple2026 is not yet in the list of products to be chosen, I have added it in the subject.

Error, (in XMLTools:-ParseFile) invalid input: too many and/or wrong type of arguments passed to XMLTools:-NSXML:-Parser:-ParseFile; first unused argument is prolog = true

The test file is right from the help related to ParseFile.
Test_XML.mw

Example: In the expression

expr:=1/sqrt(2)*(x+a);

I prefer the output

over

because it is shorter. To fix that I do

expr:=1/sqrt(2)*(x+a);
subs(sqrt(2) = 2/%sqrt(2), %)

The problem with that way is that all occurences of sqrt(2) are replaced, which I do not want. I only want to replace sqrt(2)/2.

I thought about selecting all products that contain 1/2 and sqrt(2) among others and apply the substitution only there.

How to do this in a (simple?) way?

Maybe there are other ways without subs.

Hi,

For a pedagogical purpose, I am trying to build an animation that illustrates the connection between:

  • the area under the curve of a probability density function, and

  • the cumulative distribution function of a random variable.

The idea is to let a bound x vary and show simultaneously:

  • the accumulated area under the density curve up to x;

  • the corresponding value of the CDF .

My goal is to obtain a visual representation that helps students clearly understand that the cumulative distribution function represents the accumulated area under the density function.

Do you have suggestions on how to organize this cleanly in Maple, possibly with synchronized animation or an interactive visualization?

Thank you very much for your help.

Q_CDF_PDF.mw

I'm new to MapleFlow, and I have a few questions about MapleFlow help.

  1. I read the recent post about the release of MapleFlow 2025.2, and it mentions some new functionality and bug fixes.  Is there a "What's new in MaplleFlow 2025.2" section in a help file, online or offline, that lists the new features and bug fixes?
  2. I can find Online Help for Maple, MapleSim and MapleSim Toolboxes, but I can't find a section for MapleFlow.  I realize that MapleFlow and Maple share a lot of functionality, so the Maple section covers the functions, but there are MapleFlow-specific features that don't seem to have their own section in the Online help.
  3. The offline MapleFlow help seems rather dated and limited.  When was the last time any updates were made?  Are there plans to continue to improve the offline MapleFlow help?
  4. I have a few tech support questions in, and I have received some feedback, but at least one has been sent to the Math group for review, and it's been about a week, and I've heard nothing.  Is there somewhere we can check the status of our tech support issues?

Thanks

I could not find the style management straight away and asked Maples AI assistant. That did not work for the 2026 release since the format menu does not exist anymore (see below). My hope was that AI could scan the help system for me.

Thanks — with Maple 2026 on Windows the locations and menus are stable. Below are the exact places and step‑by‑step actions to find, install and manage user styles (stylesheets).
1. Open the Stylesheet manager (recommended)-1. In a worksheet choose the menu: Format → Stylesheet... (or Format → Manage Stylesheets in some builds).
-1. The dialog shows the current stylesheet and a list of available stylesheets (built‑in and user). From there you can Apply, Edit, Save As or Import a stylesheet.

2. Typical filesystem locations (Maple 2026, Windows)• Built‑in stylesheets (read‑only):
C:\Program Files\Maplesoft\Maple 2026\lib\stylesheets
• User stylesheets (per‑user area):
%APPDATA%\Maplesoft\Maple 2026\stylesheets — this expands typically to C:\Users\<YourUser>\AppData\Roaming\Maplesoft\Maple 2026\stylesheets.

3. Installing a custom stylesheet file-1. Method A (recommended): Open Maple, Format → Stylesheet → Import (or use the Stylesheet dialog’s Import button) and choose your stylesheet file. Maple copies it into your user styles folder.
-1. Method B (manual): Place the stylesheet file into the user stylesheets folder above. Then restart Maple (or use Format → Stylesheet → Refresh if available).
-1. If you want the stylesheet to be available to all users, copy it into the built‑in folder, but you will need administrator rights.

4. Creating / saving your stylesheet-1. Edit an existing stylesheet via Format → Stylesheet → Edit, then use Save As to store a copy in your user styles folder with a new name.
-1. Stylesheet files are XML/Maple worksheet fragments — you can back them up or share the file directly.

5. Opening a stylesheet file directly-1. Use File → Open in Maple and change the file type filter to Stylesheet (or choose the .mpl/.mws/.stylesheet file). This opens the stylesheet for inspection or editing.

6. Editing outside Maple (advanced)• Stylesheet files are XML/worksheet text. You may edit them in a text editor, but make a backup first. After editing, place the file in the user styles folder and restart Maple.
• Avoid corrupting the XML structure — if Maple fails to load the stylesheet, restore from your backup.

7. Troubleshooting• If your new stylesheet doesn’t appear, confirm it is in %APPDATA%\Maplesoft\Maple 2026\stylesheets and restart Maple.
• If you lack permission to save into Program Files, use the user styles folder instead.
• To remove a user stylesheet, delete its file from the user styles folder (Maple must be restarted to update the list).

If you like, I can (a) show the exact content structure of a simple example stylesheet you can paste into a file, or (b) give step‑by‑step screenshots (described) for the Format → Stylesheet dialog in Maple 2026. Which would you prefer?

Maple online help pages do not show which version of Maple the help pages for.

At the bottom or top of each help page there really should be something to tell the user which Maple version the help pages for.

For example, going to help on ?type and clicking details opens this page

https://www.maplesoft.com/support/help/Maple/view.aspx?path=type#bkmrk2

But I noticed this web page is different from the one I am looking at now on my installed Maple 2026. 

The above online page is missing new types. Here is screen side by side. Once the above web page opens, scolling down a little below where it shows "defined types" and you will see this difference:

You see, the online Maple help page is missing types shown in the installed version of the help page in Maple 2026.

And user has no clue looking at the web page, which version of Maple these help pages are for, as there is no indication any where on the page.

1) Why the web help pages are out of date?

2) Why is there no mention on the page, which Maple version there help pages represent?

Maple 2026 and 2025.2 can't solve this ode.  It actually hangs which is worst.

The ode is from a textbook

ode:=x*diff(y(x),x) = y(x)*cos(ln(y(x)/x)); 
dsolve(ode,y(x), singsol=all);

It just gets stuck.

But we see by just inspection that y(x)=x is a solution

odetest(y(x)=x,ode)

Gives zero. I solved this also by hand as HOMOGENEOUS and got y(x)=x

Trace shows Maple hangs in "trying homogeneous D" for some unknown reason

CPU is also running very high, which seems it is stuck in a LOOP internally.

Any one could shed more light what is happening here and why it hangs on this basic ode? I think the hang in loop could indicate a bug.

Any older version of Maple able to solve this?

I have various display issues with Maple 2026 which seem to be device dependent on Windows 11.

After several un-installations and re-installation I want to see what heapens if I do not import preferences from a previous version. However, the Maple installer does not give me this choice anymore and Maple 2026 starts with the once imported preferences.

Under C:\Users\me\.maplesoft\ I could not find anything that looked like a preference file.

(screenshot updated)

Can someone remind me where this information is stored under which file name?

Objective: Solve a system of two equations.

Obstacle: Generating these two equations depends on millions of previous combinations as well as derivatives.

In other words, we've reached the maximum limit that Maple on my computer can handle.

What would be better, to leave the equations aside or to upgrade my computer?

restart

with(plots)

with(linalg)

H01 := -gamma11*S11-gamma12*S12-gamma13*S13-gamma14*S14-gamma15*S15-gamma16*S16-gamma17*S17-gamma18*S18-gamma19*S19-gamma110*S110-gamma111*S111-gamma112*S112-eta1*(S11^2+S110^2+S111^2+S112^2+S12^2+S13^2+S14^2+S15^2+S16^2+S17^2+S18^2+S19^2)-J1*(S11*S12+S12*S13+S13*S14+S14*S18+S18*S112+S112*S111+S111*S110+S110*S19+S19*S15+S15*S11+S16*(S12+S110+S15+S17)+S17*(S113+S111+S18))

H02 := -gamma21*S21-gamma22*S22-gamma23*S23-gamma24*S24-gamma25*S25-gamma26*S26-gamma27*S27-gamma28*S28-gamma29*S29-gamma210*S210-gamma211*S211-gamma212*S212-eta2*(S21^2+S210^2+S211^2+S212^2+S22^2+S23^2+S24^2+S25^2+S26^2+S27^2+S28^2+S29^2)-J1*(S21*S22+S22*S23+S23*S24+S24*S28+S28*S212+S212*S211+S211*S210+S210*S29+S29*S25+S25*S21+S26*(S22+S210+S25+S27)+S27*(S213+S211+S28))

Z01 := exp(-beta*H01)

Z01 := add(add(add(add(add(add(add(add(add(add(add(add(Z01, S11 = [-2, -1, 0, 1, 2]), S12 = [-2, -1, 0, 1, 2]), S13 = [-2, -1, 0, 1, 2]), S14 = [-2, -1, 0, 1, 2]), S15 = [-2, -1, 0, 1, 2]), S16 = [-2, -1, 0, 1, 2]), S17 = [-2, -1, 0, 1, 2]), S18 = [-2, -1, 0, 1, 2]), S19 = [-2, -1, 0, 1, 2]), S110 = [-2, -1, 0, 1, 2]), S111 = [-2, -1, 0, 1, 2]), S112 = [-2, -1, 0, 1, 2])

NULL

Z02 := exp(-beta*H02)

Z02 := add(add(add(add(add(add(add(add(add(add(add(add(Z02, S21 = [-2, -1, 0, 1, 2]), S22 = [-2, -1, 0, 1, 2]), S23 = [-2, -1, 0, 1, 2]), S24 = [-2, -1, 0, 1, 2]), S25 = [-2, -1, 0, 1, 2]), S26 = [-2, -1, 0, 1, 2]), S27 = [-2, -1, 0, 1, 2]), S28 = [-2, -1, 0, 1, 2]), S29 = [-2, -1, 0, 1, 2]), S210 = [-2, -1, 0, 1, 2]), S211 = [-2, -1, 0, 1, 2]), S212 = [-2, -1, 0, 1, 2])

NULL

G0 := -(1/24)*N*ln(Z01*Z02)/beta

NULL

m01 := -24*(diff(G0, gamma11))/N

m02 := -24*(diff(G0, gamma21))/N

NULL

beta := 11.605/T; gamma11 := 2*J1*m1+2*J2*m2; eta1 := Delta; gamma21 := 2*J1*m2+2*J2*m1; eta2 := Delta; gamma12 := J1*m1+2*J2*m2; gamma22 := J1*m2+2*J2*m1; gamma13 := J1*m1+2*J2*m2; gamma23 := J1*m2+2*J2*m1; gamma14 := 2*J1*m1+2*J2*m2; gamma24 := 2*J1*m2+2*J2*m1; gamma15 := J1*m1+2*J2*m2; gamma25 := J1*m2+2*J2*m1; gamma16 := 2*J2*m2; gamma26 := 2*J2*m1; gamma17 := 2*J2*m2; gamma27 := 2*J2*m1; gamma18 := J1*m1+2*J2*m2; gamma28 := J1*m2+2*J2*m1; gamma19 := 2*J1*m1+2*J2*m2; gamma29 := 2*J1*m2+2*J2*m1; gamma110 := J1*m1+2*J2*m2; gamma210 := J1*m2+2*J2*m1; gamma111 := J1*m1+2*J2*m2; gamma211 := J1*m2+2*J2*m1; gamma112 := 2*J1*m1+2*J2*m2; gamma212 := 2*J1*m2+2*J2*m1

NULL

eq1 := m1 = m01

eq2 := m2 = m02

fsolve(subs(J1 = 2*.83, N = 1, J2 = -2*.58, Delta = 0, m1 = 0.1e-1, {eq1, eq2}), {T, m2}, T = 0 .. 220, m2 = -.1 .. .1)

fsolve(subs(J1 = 2*.83, N = 1, J2 = -2*.58, T = 1, Delta = 0, {eq1, eq2}), {m1, m2}, m1 = -5 .. 5, m2 = -5 .. 5)

{m1 = 2.000000000, m2 = -2.000000000}

(1)

NULL

Download Maple_forum_test.mw

After system restart on Windows 11:

Maple 2026 was installed as usual with administrator rights and with import of preferences from Maple 2025. Other Maple versions are working on the same computer.

Does this never-seen-before output gives a hint what is wrong with my installation. Any suggestions what to do next?

That's the installed version:

On the same Windows 11 installation, Maple 2025 displays equation labels but Maple 2026 not. Maple 2025 settings were imported for the 2026 installation. (Crtl-l + number does return "invalid label". I assume that not labels have been generated)

Has anbody observed the same? Any suggestions what I could check/do?

Other observation: The output font does not look the same

 

Is there an easy way to read jld files in Maple?  Apparently JLD (Julia Data) and JLD2 files are binary formats primarily designed for saving and loading Julia variables, preserving types.

That's how it looks like in Maple 2026.0 for the Examples on the Help-page for topic solve, on Windows 11

For a fraction of a second I see output rendered in blue and Math-2D. Then it turns to the above.

Is this a regression or a new feature? How to get the output back to Math-2D and blue?

Glad that 2026 has been released now, and I will certainly use it as the default version in the future.

While there are a lot of new features, one thing that keeps annoying me is the inferior font quality, compared to other software.

Here's a screenshot of 4 different programs, all with font Arial 11pt and 100% zoom factor. Font AntiAliasing is set to enabled in Maple.

Judge it for yourself, but in my opinion it gives a clear picture that Maple is much worse to read than any of the other software packages (Word, LibreOffice, pdfXChange).

In the Maple 2025 release, the "old/former" user interface was provided under a menu entry called "Maple 2025 for Screen Readers". I used this version because of shortcommings of the new ribbon interface. Some of the shortcommings have been fixed in the 2026 release but it is still slow to use (I am missing functions in the quick access toolbar that I frequently use and no customization of the bar seems possible).

I could not find a similar menu entry in the 2026 release under Windows 11. Is the old unser interface still available?

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