Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I noticed the following behaviour in Maple 16:

x1 := (a)^(b):
eval(x1,[a=103/100]):
evalf[3](%);

                                 b
                             1.03

I wish to use the 'Numeric Formatting' feature on some results in Maple, to show the correct significant figures in the results. But when I apply Numeric Formatting to any result, the decimal seperator changes from the usual dot (.) to a comma (,). How can I keep the dot as decimal seperator while applying the correct significant figures?

 

Thanks. 

I entered the following code in Maple 15.  In one instance it plotted the correct graph with the "x" and "y" labels exactly where I wanted them.  The identical code, in another instance (and again in a separate tab) generates an error:

  "Error, (in plots:-display) cannot make plot structure from object with name textplot"

 

Of course, when I click the error above in Maple (it is a link), a Maple webpage comes up that says:

If anyone was interested Euro 2012 starts tomorrow.  Using the FIFA simulation created by Robert Israel one could enter the new values for the ELO ratings found here http://www.eloratings.net/euro_cup.html to create a similar simlation of Euro 2012.  Just for visual sakes here's the ELO ratings for the teams in the tournament.

mapletrig.mw

Hi all,

I need to solve a simple integration as shown in the attached work sheet.  But don't know how to obtain the required answer as shown.

I shall be very thank full if you guys could help me out with this.

Best Regards

A.Q

Please excuse me if this question is too basic or has been answered before, though I've spent a couple of hours searching for similar questions without any luck.

I have the following expression, which is given in terms of other expressions:

Dear Maple Users

I have been testing Maple 16 for some time now, and I am overall very pleased with it. There is however one issue, which is really annoying. In previous version of Maple, images inserted into Maple and plots were printed much bigger than they looked like in the Worksheet. Then me and other users have requested to have the printed output look more like it does in the Worksheet on the computerscreen. Maple has adressed those user complaints in the new...

Way back in Maple 6, the rtable was introduced. You might be more familiar with its three types: Array, Matrix, and Vector. The name rtable is named after "rectangular table", since its entries can be stored contiguously in memory which is important in the case of "hardware" datatypes. This is a key aspect of the external-calling mechanism which allows Maple to use functions from the NAG and CLAPACK external libraries. In essence, the contiguous data portion of a hardware datatype rtable can be passed to a compiled C or Fortran function without any need for copying or preliminary conversion. In such cases, the data structure in Maple is storing its numeric data portion in a format which is also directly accessible within external functions.

You might have noticed that Matrices and Arrays with hardware datatypes (eg. float[8], integer[4], etc) also have an order. The two orders, Fortran_order and C_order, correspond to column-major and row-major storage respectively. The Wikipedia page row-major  explains it nicely.

There is even a help-page which illustrates that the method of accessing entries can affect performance. Since Fortran_order means that the individual entries in any column are contiguous in memory then code which accesses those entries in the same order in which they are stored in memory can perform better. This relates to the fact that computers cache data: blocks of nearby data can be moved from slower main memory (RAM) to very fast cache memory, often as a speculative process which often has very real benefits.

What I'd like to show here is that the relatively small performance improvement (due to matching the entry access to the storage order) when using evalhf can be a more significant improvement when using Maple's Compile command. For procedures which walk all entries of a hardware datatype Matrix or multidimensional Array, to apply a simple operation upon each value, the improvement can involve a significant part of the total computation time.

What makes this more interesting is that in Maple the default order of a float[8] Matrix is Fortran_order, while the default order of a float[8] Array used with the ImageTools package is C_order. It can sometimes pay off, to write your for-do loops appropriately.

If you are walking through all entries of a Fortran_order float[8] Matrix, then it can be beneficial to access entries primarily by walking down each column. By this I mean accessing entries M[i,j] by changing i in ther innermost loop and j in the outermost loop. This means walking the data entries, one at a time as they are stored. Here is a worksheet which illustrates a performance difference of about 30-50% in a Compiled procedure (the precise benefit can vary with platform, size, and what else your machine might be doing that interferes with caching).

Matrixorder.mw

If you are walking through all entries of an m-by-n-by-3 C_order float[8] Array (which is a common structure for a color "image" used by the ImageTools package) then it can be beneficial to access entries A[i,j,k] by changing k in the innermost loop and i in the outermost loop. This means walking the data entries, one at a time as they are stored. Here is a worksheet which illustrates a performance difference of about 30-50% in a Compiled procedure (the precise benefit can vary with platform, size, and what else your machine might be doing that interferes with caching).

Arrayorder.mw

Hello, 

 

I have to solve a system of two equations but I have the error message "Warning, cannot evaluate the solution past the initial point, problem may be complex, initially singular or improperly set up"

Here is what I did :

Maple 16 introduced dramatic changes to the postscript export facility of 3d plots. This is great news, but some bugs remain. Let me report here about my experience. (Note: Maple 15's 3d ps export was something like an encapsulated bmp, while Maple 16 is a genuine level3 postscript export tool)

The initial release in Maple 16.00 was buggy. In my experience, the export would hang most of the time. An improved release came with Maple 16.01. I have not experienced any...

I have a problem in determine the relation between two variables in a polynomial equation f(l2,v)=0. The results of two methods puzzled me.
The first method I tried is use the fsolve command.
In equation f(l2,v)=0,the range for v is [3405,5054] and l2 is a complex variable.
I plotted the figure for the l2=l2(v) in complex plane.Because the degree of l2 is 8, I have eight curves in the figure.
Obviously, the order in the result of fsolve is indefinite, so it can...

Maplesoft has these interesting bits of Math on their website.  For example this one here

http://www.maplesoft.com/mathmatters/airplanes.aspx

It is all nice and all but I would like to see some reference examples to maple for each one, a cool application worksheet that portrays each one nicely. 

Using the example link above I searched maplesoft application center for navier stokes...

Hello,

 

I am having probrems to do the following.

 

- I want to solve 2 equations A and B, which have to be solved numerically. (get x(t) and y(y))


- With the solution to A and B, I have to input a combination into other equation C. And then get the solution for other variable. (solve z''(t) + (k/t^2 + V(x(t),y(t))z(t)=0)

 

I could solve evertything togewther. The only problem is that the second part...

Which library is this hflogb implemented in? I could not find it in either libc or libm.

What is the exact name of the function that has been changed in 64bit distributions?

(Knowing this, there would be an easy fix. Even now, one can run older maple on newer linuxen: simply copy the old system libs (from /lib/x86_64-linux-gnu and /usr/lib/x86_64-linux-gnu to a library under the maple install dir and tweak LD_LIBRARY_PATH in the maple wrapper script), but identifying...

Not really a review but I think Maple has so much cool stuff one can do with it, that we get sidetracked from one project to the next.   Before you know it, a new release is out and you've put your project on hold to try out and play with the new features - and not really forging ahead on any projects.  One year between new releases isn't enough time to have customers really, and I mean really, dive into Maple.

Here is what a reviewer at computing world said about Maple16

First 1572 1573 1574 1575 1576 1577 1578 Last Page 1574 of 2224