MaplePrimes Questions

I have reported this to Maplesoft. There is a problem (on LInux 20.2) that has to do with java. I have (well, I had) a large project. Around 1500 lines when I cut and pasted into a word processor. (No, I was not editing in the word processor, I just needed a way to put a number on the size that was better than, "quite large". )

I do my editing in 2D math. The other is not an option, and I kind of doubt it would matter.

There is a problem in 2022,  in which,  after working in the editor for 3-5 hours, it gets very slow. CPU use will go into the 80% range. Java will have 1.7 GB or RAM allocated to it. The editor  becomes impossible to use. The only cure is to save the file, then re-open it after shutting down Maple. If Java goes away in system monitor (Linux version of Taskmanager) then it will work fine when it comes back. This appears to me to be a bug in handling of java, in which Maple never lets go of memory, and some piece of code goes off into all that RAM to do something. I have waited as long as half an hour. That time I gave up and killed the java task which ended Maple.

Just now, what prompted this post, in addition, is that when I brought Maple back up for the (2-3 times per day complete restart due to this problem) the file I had just saved is now corrupted, and truncated. A lot of work is gone, and no way to retrieve it I know of. The file is now less than half the size it was (43% of the size of the previous version number).

I told support that this release is acting like beta software, despite being the regular release.

Be careful. Increment your saved versions of .mw files regularly. Save regularly. Expect problems.

Configuration: Intel i7 CPU, 64 GB RAM. Note that earlier versions of Maple sometimes got memory use up to 12 GB on other sheets. I have not noticed what Java was using prior to this.

I noticed that someone changed this to a "performance" tag. It is not really about performance. This shows up as the editor is a bit slow, and then suddenly the editor is off in the weeds for a while. This is a serious memory management problem. It is also a bug that killed a day's work, and if I hadn't been lucky more than a day. Maple should not destroy files when it writes them out.

Please don't arbitrarily recategorize a bug without fully reading the problem.

The uploaded worksheet attempts to determine arc lengths of an ellipse by two methods. Why do their results differ?

ArcLength_of_Ellipse.mw

Trying to teach my granddaughter complex math and I was trying to show the use of the division of two complex numbers.

such as (8x+3i)/(5x-i).  I could not get maple to give an answer.  There is a way to do this put for the life of me I couldn't find it at the time. 

Can somebody tell me how to do this operation.

Thanks

Bill

How i can i write the code for the last equation which includes summations and one product in the picture? tnx for the help.

Hello,

Do you know a command which give the time Maple need to result a problem ....??
Thank you

Hello. I have the PDE

u_t + u_xxx = 0

And the function u(x,0) = 2 / cosh2(x)

I want to plot it on the u(x,t) - x axes on 2D plane. And then make more plots as time passes in order to show that u(x,0) disperses. 

Thanks for any help.

For making a Maple package, an mla file, I were always using a same 4 lines code in a Maple worksheet and it was fine, but in Maple 2022 I receive an error message instead with the same 4 lines of code. Here is a simple example. Let's say I have a directory on my computer "C:\Home\Maple projects\Test_package", inside this directory I have one file "main.mpl" and a folder called "Functions" with a single file "Test.mm". The content of these two files are in below.

main.mpl

# This is just to test savelib at Maple 2022

unprotect('testSavelin');

testSavelib := module()
	option package;
	description "This is just a test.";
	export ModuleCopy, ModuleApply, ModulePrint;
	export Test;

kernelopts( includepath = currentdir() ):
$include "Functions\\Test.mm"

end module;

protect('testSavelib');

Test.mm

Test := proc( x :: integer )
	description "prints a message saying what integer you have given to this function.";
	printf("You have inserted the integer %d.\n", x);
end proc:

Now I open a Maple worksheet and do the followings.

kernelopts(includepath="C:\\Home\\Maple projects\\Test_package"):
read("C:\\Home\\Maple projects\\Test_package\\main.mpl");
LibraryTools:-Create("C:\\Home\\Maple projects\\Test_package\\test.mla");
savelib('testSavelib'," C:\\Home\\Maple projects\\Test_package\\test.mla ");

On previous versions of Maple the result would be a test.mla file with the testSavelib package in it. But in Maple 2022 I receive an error message instead, and the test.mla is an empty mla.

Error, could not open ` C:\Home\Maple projects\CAD project\test.mla \testSavelib.m` for writing

Here is a screenshot.

Maple is usually very fast, and I recently upgraded to 2022 edition. 

However in the new version, I tried to solve this equation here. 
solve(1 + 0.15 = (1 + r__x)^1.28858)

It took Maple 2022, 46 to 118 sec to come up with a solution to the above. I run Windows 11 latest version, have 32 GB of ram and dual NVME disks in my laptop. 

Windows 11 uses almost a Gigabyte of memory do this calculation. 

So what could be wrong? Is mserver not working proberly?

solve(9*log10(x + 1) = root[3](x), x);
Warning, solutions may have been lost

How come maple can't solve this equation with the standard command?

And what can I do to find all the solutions?

EDIT: For some reason I can't repply.
@Kitonum , thanks for answer.

I suspect there may be more real solutions than the ones in your example, but if I change the range some of those in your example goes missing. Is that a bug?

Bonjour,

Comment transformer cette suite de résultat que renvoie Maple, en liste unique :

              

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               2

                               3

                               1

                               4

                               1

                               11

                               9

                               7


En une liste unique telle que :

L: = [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 4,1, 11, 9, 7 ]

Merci 


HELLO,

How to transform this result in one list : 


                                1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               1

                               2

                               3

                               1

                               4

                               1

                               11

                               9

                               7


In a simple list such that :

L: = [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 4,1, 11, 9, 7 ]

Thank You

Hi,

I want to extract the highest linear and non-linear terms in an equation without their coefficients

How I can do it?

For example in the following equation, the highest linear and nonlinear without coefficients are diff(u(T),T$3) and u(T)*diff(u(T),T), respectively.

w*a*diff(u(T),T)+a*u(T)*diff(u(T),T)-(b^2)*a*w*diff(u(T),T$3)=0

Thanks in advance.

How can the Cartesian Product of sets be implemented recursively in Maple?
Let k be a positive integer and Si , i=1,...k be nonempty finite sets.
How can Mk:=S1 x S2 x ...x Sk be constructed with Maple by recursion?

Maple 2022:

It appears that one can use push_back() with an empty DEQueue(), but not push_front().

Since the queue is double-ended and empty, this doesn't make much sense to me. So should this be considered a "bug"?

See the attached

  restart:

#
# This works
#
  A:=DEQueue();
  empty(A);  
  push_back(A,2);
  

module DEQueue () local num, head, tail, storage, dsp; option object; end module

 

true

 

module DEQueue () local num, head, tail, storage, dsp; option object; end module

(1)

#
# But this results in an error!
#
  B:=DEQueue();
  empty(B);
  push_front(B,2);

module DEQueue () local num, head, tail, storage, dsp; option object; end module

 

true

 

Error, invalid return value from method moduledefinition: 'NULL'

 

 

Download DEQueue_Prob.mw

I have just started using the GR functions available in Maple and have struggled to implement locally flat coordinates whilst using an arbitrary metric. I would like Maple to know that the first partial of g_ is 0 but that the second may not be. This knowledge would help simplify down some of the bulky expressions for the Riemann tensor in terms of g_. Any suggestions would be great as I have very little background knowledge with the submodule.

Thanks!

For_mapleprimes.mw

restart;
g := 9.81;
with(DEtools);
with(plots);

odeplot(dsolve({diff(x(t), t, t) = 0, diff(y(t), t, t) = -g + y(t)^2, x(0) = 1, y(0) = 0, D(x)(0) = 0, D(y)(0) = 0}, numeric), numpoints = 1000);

Hi, do you know why this plot is ragged? and my second question do you know how to get a single function x(t) or y(t) from this numeric solution instead getting parametrization plot [x(t),y(t)]? Thanks in advance.

First 326 327 328 329 330 331 332 Last Page 328 of 2428