MaplePrimes Commons General Technical Discussions

The primary forum for technical discussions.

A post to conjure up some interest.  Nasa seeks coders to hunt asteroids

Just going out on a limb here but any of the three M's would have a good chance here.  A good opportunity to create some code.  Maple could port it to C code then compiled for speed.  On a smaller scale it would be an interesting challenge.  On the larger scale not sure if Maple would be best suited for the task.  Opinions?

This is one of my favorite events of the year. When we launch a new release of Maple, I get to see the work of so many talented individuals at Maplesoft come together in a form that I am sure will delight, and maybe even surprise you.

We are holding true to our principles with Maple 18. Hundreds of new mathematical algorithms further strengthen a computational engine that will help you tackle your toughest challenges. The user interface experience continues to become smarter, allowing you to focus on getting results without fighting with syntax. Connectivity options are again becoming richer.

A personal favorite of mine is the newly enhanced Explore functionality, which allows you to, with a couple of clicks, go from a mathematical expression to an interactive Math App. Math Apps allow you to explore the parameter space of the expression, gain insight into its behavior and even, in conjunction with Maple T.A., produce a gradeable Möbius App that allows you to assess a student’s interaction with the app and hence their understanding of the underlying concepts. The expanded Explore functionality is just part of a collection of advancements in Maple 18 that support The Möbius Project.

Overall, the new features of Maple 18 are quite numerous and I won’t try to list them all here. However, I do want to mention a few areas that have received special attention:

  • Statistics: Maple 18 includes lots of enhancements to statistics computations and visualization, such as new time series functionality that allows you to find patterns, make forecasts, and visualize time-based data. For the classroom, a new Student Statistics package, together with a range of bundled Math Apps, provide a simplified and interactive environment for instructors and students alike.

  • Physics: This package for representing and computing with concepts from general relativity to quantum mechanics continues to grow by leaps and bounds, with over 500 enhancements just in this release alone. We are convinced that this is the best computational environment available for researchers in this area.

  • Engineering: Key enhancements for control analysis, signal processing, and code generation to Python and Perl are just a few of the new features that engineers will note and appreciate. There’s even import/export for STL graphics files, which, amongst other things, means you can now print out your favorite Maple plots on a 3-D printer!

I think you will agree that Maple 18 exemplifies all the effort and attention that we have put into it.  And there’s more to come - this release is just the start of a stream of product announcements that you can expect from us in the coming months. Stay tuned!

It is a relatively recent innovation that complex-number computations can be done in the evalhf environment. When combined with plots:-densityplot, this makes escape-time fractals in the complex domain very easy to plot. This fractal is based on the Collatz problem. This Wikipedia article has a high-resolution picture of this fractal. I've switched the real and imaginary axes and reversed the direction of the real axis purely for asthetic reasons.


Collatz:= proc(b,a)  #Axes switched
local z:= -a+b*I, k;  #real part negated
     for k to 31 while abs(Im(z)) < 1 do
          z:= (1+4*z-(1+2*z)*cos(Pi*z))/4
     end do;
     k #escape time
end proc:

#Test evalhf'ability:



     jpeg, plotoutput= "C:/Users/Carl/desktop/Collatz.jpg",
     plotoptions="height= 1024, width= 1024, quality= 95"


          -1..1, # imaginary range
          -0.5..4.5, #negative of real range
          colorstyle= HUE, grid= [1024, 1024], style= patchnogrid,
          labels= [Im,-Re], labelfont= [TIMES, BOLD, 14],
          axes= boxed,
          caption= cat("      Happy New Year ",                  

          captionfont= [HELVETICA, BOLDOBLIQUE, 18]

memory used=24.08MiB, alloc change=24.00MiB, cpu time=7.78s, real time=7.79s



A little late in the game, with no Maple 18 wishlist yet I'd like to get it started

granted all wishes for previous versions not yet applied should still, hopefully, be under consideration.  


1 - The abitlity to angle x-axis labels.


2 - Textplot option for text to rotate with graph as it is rotated.  Currently all textplot texts are held to the horizontal




It would be nice if Maple had a procedure which could turn a procedurelist into a listprocedure.
I use these words in the sense they are used in dsolve/numeric.
Thus by a procedurelist I mean a procedure returning lists (of numbers).
By a listprocedure I mean a list of procedures all having the same formal parameters and each returning one number.
Thus a `convert/listprocedure`should accept a procedurelist p as input and give as output the corresponding listprocedure [p1,p2, ... pN] where N is the number of elements in the output from p.

I tried making a `convert/listprocedure` myself and in doing so found that it was not totally trivial.
I had lots of problems but did end up with something that seems to work.

But my main point is that Maple ought to have some such facility either as described available to the user or by changing fsolve, complexplot or what have you, so that procedurelists are accepted.

Hi all,

I seem to have triggered a nasty bug in Maple 17.  Consider the following code:

  BlahObject := module()
    option object;
    export BlahMethod := proc()
    local C, d, i;
      add(C[i]*d[i] + C[i], i=1..4);
    return NULL;
    end proc;
  end module;

It triggers a Maple kernel crash for me when doing object construction:

 B := Object(BlahObject);

The offending line is the one with add( ). It is ok if I add C[i]*d[i], but when the line contains both * and + it causes kernel death every time.  This is strange as the proc is not even being executed... only constructing the object. 

I am running Maple 17.02, it's also present in 17.01.  But interestingly, it runs fine in Maple 16.  Bug in Maple 17? 


I can't post any Replies or Answers. It acts like they are being posted, but they just disappear. I've tried both in IE and Firefox.

There seems to be patterns for sin(10^-k) for rational k;

Here we have the "floats."

n sin(10^(-n-1/2))

1 0.03161750640

2 0.003162272390

3 0.0003162277607

4 0.00003162277660

5 0.000003162277660

6 0.0000003162277660

7 0.00000003162277660


More later on using the mantissa. You're welcome to join me.

I define a partial repeating decimal as shown in the following example: if you have the decimal expansion 0.1728394877777777777777777777771939374652819101093837... 7 is called a partial repeating decimal.  

Back in 2000 I noticed a pattern in the decimal expansions of sin(10^-n) for growing n. Here is table of some integer n:

n                sin(10^-n)

1 9.98334166*10^-2

Back in 2000 I published A034948A036663, and A036664 in Sloane's Integer Sequences, now OEIS.

But today I decided to find the exact values of some such quotients.



I have a previous post on this, but the discussion completely missed the situation I was presenting.

The big problem is: The (vertical) writing cursor often does not move on the visible worksheet when a new location is clicked with the mouse or the arrow keys are used, and moving with the arrow keys often leaves a trail of writing cursors along the line between exisiting symbols. Luckily, Maple internally seems to know the correct (intended) location of the...

When I run "sum(a[1/k],k=1..n);", I get "Error, (in IntegerSub) too many levels of recursion". But it's OK to run "product(a[1/k],k=1..n);". Furthermore "Error, (in IntegerSub) too many levels of recursion" cannot be caught.


Today maple is being used as a helpful tool, but teachers should learn mathematics in depth, and in this way use the primitive concepts of mathematics. This very well use the algorithms that reduce the lines of code in the resolution of a problem, but it is very necessary to use command to demonstrate theorems, since inico to completion, and then be tested with new commands that meet on a line of estio the problem code. What do you think about the development of mathematical procedure, using native commands?

The list of the GUI problems is long, so I'll just summarize some of them.

In text groups, when the writing cursor is moved, the cursor is often not visible at the new position (where it actuall knows it is at), but often remains visible in a trail of places where it previously was.

In Help, the first letter of the search word is usually missing so that it is necessary to start with a space. Also in Help, both the scroll bar and the actual search...

My system: Windows 8 x64, Maple 17.01 x64.

After launching Maple we have a process maple.exe (C:\Program Files\Maple 17\jre\bin\maple.exe) that consumes approximately 80MB.

We run the following piece of code:

>for i to 1000 do
>end do;

After running for the first time of this code the process maple.exe consumes 100.5MB
After second running of this code the process maple.exe consumes 111.6MB
third running --- 122.4MB

3 4 5 6 7 8 9 Last Page 5 of 74