Maple 2024 Questions and Posts

These are Posts and Questions associated with the product, Maple 2024

As a newbie in Maple2024, my next step is to try to solve a Diophantine equation. Attempts with isolve failed. It is the famous task B3 from the IMO of 1988:

If for integers x and y the fraction (x^2+y^2)/(1+x*y) is a positive integer, then it is actually a square number.

The solution is well known. But I would like to learn how to use Maple using this example and would like some advice.

Best regards, Alfred_F

Dear Power Users, Dataframes are a powerful tool within Maple. However, when I have 'undefined' in cells "Aggregate" or "DataSummary" does not provide answers. However, when I use "Statistics:-Mean" with the additional option "ignore=true" I can get an answer for one column (see attached worksheet). Adding "ignore" to aggregate apparently does not work. What is the method for ignoring the undefined data? In Excel when a cell is blank it will be ignored. Thank you for any help given.MP_Aggregate.mw

Maple help pages keep getting worst with each release.

I want all input to be displayed using Maple 1D notation, so I can copy the example to my worksheet since I only use worksheet and not document (2D) mode.

So even though the first thing I do when I open help it to turn off the 

                     view->Display examples with 2D

So it is no longer checked, I still see many pages using 2D math for input. 

Here is one example ?D  page

If I copy one such input to my worksheet now it looks like this

eveything in 2D becomes ?? when I copy it.

So one can only look but not copy?

Is there any other option to make sure, really make sure, all examples have 1D as input?

The problem is that it is all not consistent. Some examples have a mix of 2D and 1D as the above page. Some are in 2D and some are in 1D.

And this is all on the same help page!

Does no one inside Maplesoft even look at their own help pages?
 

Maple solves this first order ode correctly and solution verifies OK. The solution is explicit and has RootOf. I asked it to solve it using dAlembert method to compare with my own solution using dAlembert.

Next I called dsolve on same ode and IC but asked for implicit solution now instead, then called solve on the implicit solution to see if it will give same solution y(x) as before (with RootOf). But instead solve gives this internal error 

               Error, (in evala) reducible RootOf detected.  

Next called PDEtools:-Solve to see if it will give same error. It did not give error. But it also could not solve for y(x) either.

Any one has any idea why this error is generated by solve? Is this expected or not?

I was expecting same result as first call to dsolve which returned explicit solution. And why is PDEtools:-Solve do not generate same error? It must have run through different code path.

May be some one have some insight on this.

interface(version);

`Standard Worksheet Interface, Maple 2024.1, Windows 10, June 25 2024 Build ID 1835466`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1792 and is the same as the version installed in this computer, created 2024, August 22, 12:6 hours Pacific Time.`

libname;

"C:\Users\Owner\maple\toolbox\2024\Physics Updates\lib", "C:\Program Files\Maple 2024\lib"

ode:=(2*x+y(x))+(4*x-2*y(x)+1)*diff(y(x),x)=0;
IC:=y(1/2)=0;

2*x+y(x)+(4*x-2*y(x)+1)*(diff(y(x), x)) = 0

y(1/2) = 0

maple_sol:=dsolve([ode,IC],[dAlembert]);

y(x) = RootOf((8*I)*exp((3/41)*41^(1/2)*arctanh((1/41)*(-28*x+6*_Z-5)*41^(1/2)/(-4*x+2*_Z-1)))*9^(1/2)*x+48*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*_Z*x*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))-96*x^2*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))+I*exp((3/41)*41^(1/2)*arctanh((1/41)*(-28*x+6*_Z-5)*41^(1/2)/(-4*x+2*_Z-1)))*9^(1/2)+6*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*_Z*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))-36*x*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))-3*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2))))

odetest(maple_sol,[ode,IC])

[0, 0]

maple_sol:=dsolve([ode,IC],[dAlembert],implicit);

-((1/64)*I)*(64*x+8)*exp((3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))*exp(-(3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))/(((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*(4*x-2*y(x)+1))+x+(1/8)*(4*((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*exp(-(3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))*x-2*((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*exp(-(3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))*y(x)+((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*exp(-(3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1))))*exp((3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))/(((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*(4*x-2*y(x)+1)) = 0

#solve gives error
sol:=solve(maple_sol,y(x));

Error, (in evala) reducible RootOf detected.  Substitutions are {RootOf(6*RootOf(_Z^2-41,index = 1)*_Z+41*_Z^2+5,label = exptmp) = -5/41*RootOf(_Z^2-41,index = 1), RootOf(6*RootOf(_Z^2-41,index = 1)*_Z+41*_Z^2+5,label = exptmp) = -1/41*RootOf(_Z^2-41,index = 1)}

#PDEtools:-Solve  gives no error but does not solve it
sol:=PDEtools:-Solve(maple_sol,y(x));

 


 

Download reducible_rootof_detected_august_24_2024.mw

I am trying to understand under which conditions submenus disappear.

Now I have seen that the context panel is empty when submenues disappear.

Has anybody noticed the same and are there other instances when the context panel is emtpy?

Both effects could have the same rootcause.

Here is an example:
A -> no submenu

B -> Empty context panel

C -> Menu appears inside workspace (first time I see that)