Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim

Try to typeset

normal(1/((omega^Omega/a-1/2)[a,sqrt(2)][1/2]-(zeta+iota)[-y][-1,1]+(xi+Xi)[alpha[1/2]]));

in your favourite version of Maple. What's the "best" way to typeset this in LaTeX so that it looks 'best'? The renderer here on primes gives:-1/(-(omega^Omega/a-1/2)[a,2^(1/2)][1/2]+(zeta+iota)[-y][-1,1]-(xi+Xi)[alpha[1/2]])

It's fairly ugly, but at least the baseline alignments seem to be ok, even though the fonts are way too small (and fuzzy too).

Is there a convenient way to express a 2nd or higher derivative, say in an eval statement, so that it is not confused with an expression containing an exponent?

I recently ran into an interesting twist on the infamous Maple anti-pattern:

# A very garbagey way to build a list
l := [];
for i from 1 to 10000 by 100 do
l := [op(l), isqrt(abs(floor((5000-i)/2)))];
end do;

A lot of users fall prey to this method of building a list rather than using :

# generate a list without extraneous garbage
l := [seq(isqrt(abs(floor((5000-i)/2))),i=1..10000,100)];

We are pleased to announce that we have just released new versions of Maple and MapleSim!

Here are some highlights from the new releases:

Maple 13 includes completely new 3D plot facilities, which are faster and use less memory. Another nice benefit is you can now annotate 3-D plots just like you do 2-D plots, including proper math notation in titles and labels, tickmarks in multiples of pi, and arrows. You can also create fly-through animations, which zoom a virtual camera around your 3-D plots. We’ve put a few examples on our website…take a look.
 
Writing multithreaded applications is now a whole lot easier using a new task-based programming model. You no longer have to worry about synchronization tools – Maple handles that part.  For example, here’s an interactive Mandelbrot application that uses the task-based model to automatically distributes the calculations to all available processors.

And the in small-but-useful category, Maple 13 now includes an Export to PDF option.

For more information on these and many other features, see What’s New in Maple 13.

MapleSim 2 includes a really cool new 3D animation feature for multibody systems. You just define the model, and when you run the simulation, MapleSim automatically creates an animated version of your model so you can really see what is going on.  You can even attach your own STL shape files, so the animations look more realistic…take a look for yourselves!

MapleSim 2 also includes a results manager that lets you keep track of the results of different simulation runs. Previous results can be viewed without having to re-execute the simulation, and are accessible from one session to the next.

For details, see What’s New in MapleSim 2.

Click here to read the full press release.
Click here to see what Maplesoft President & CEO Jim Cooper had to say.
 

On some Linux distributions, the default font (Lucida Bright at size 12) for text mode in Maple's Standard GUI doesn't look as good as it might at the default magnification.

Here's a screenshot of Maple 12 and some text in a worksheet (on my very old Fedora Core 2).

Notice how some letters look odd. The "i" and "s" are mismatched, as are the "u" and "c", etc. The screenshot may not do full justice to its ugliness. That is with Maple's option for font antialiasing enabled (though it wasn't improved by disabling the antialiasing -- those letters' sizes were still mismatched).

This is with Lucida Bright, which as I gather is the "recommended" font for a Java application that is intended as cross-platform. That is used at size 12 as Maple's default style for text mode (on Linux).

So I installed the "Microsoft TrueType core fonts", by following the instructions here.

My old Linux FC2 X server can handle TrueType fonts, as I believe  most  modern  Linux distributions can.

Now I get the following look, first with and then without font antialiasing enabled. It is much improved.

I don't know how the default appearance on other, more modern Linux distributions looks. Perhaps the Lucida Bright 12pt font appears more pleasing on new distributions using the stock fonts. Feedback is welcome.

There is a new template for MapleSim that allows you to import your Simulink models into Maple.  Once imported, you can quickly create a custom component that can be used in MapleSim.

Click here for more information:  www.maplesoft.com/applications/app_center_view.aspx

Requires BlockImporter and MATLAB/Simulink, version 2007b or later, to execute.

Mike Kucera and I are happy to announce the availability of MapleMIX, a partial evaluator for Maple. Partial evaluation (PE) is a program transformation technique that uses a subset of the inputs to a program to generate a specialized version of the program that will then accept the rest of the inputs. With PE it is possible to write algorithms in a highly general and abstracted form, and then automatically extract optimized versions of the algorithm specialized for certain inputs.

The following type of difference in behaviour, due to deterministic ordering of sets as introduced in Maple 12, may affect implementations of some algorithms.

    |\^/|     Maple 11 (X86 64 LINUX)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2007
 \  MAPLE  /  All rights reserved. Maple is a trademark of
 <____ ____>  Waterloo Maple Inc.
      |       Type ? for help.

> seq(x, x in {a,b,c,d,e,f,g}) assuming d>0;
   ...

This is a follow-up to an earlier post about CovarianceMatrix.

There are several ways in which Statistics:-CorrelationMatrix can be improved.

CorrelationMatrix shares some inefficiencies with CovarianceMatrix, by computing correlations between the n columns, pairwise. But in doing so it also computes...

This function

f(x) = { 0,           x = 0
          { 1 - x,      0 < x < = 1

is not continuous on [0, 1].

So I wrote

f := x -> piecewise (x = 0,0,x > 0,1-x);
plot(f,0..1);

But Maple doesn't show the lack of continuity. (discont=true doesn't do anything here). Can I improve the plot?
 

Alla

Why does Maple fail to respond to

solve( {(560/243)*(x+1)^(-13/3)},{x});

 

 

I'm an autodidact working with calculus and Maple 9.5,  I find the Maple Learning Guide more illustrative than comprehensive and the help files too oriented toward users who know more math and/or more Maple than I do.  This forum has proved helpful in responding to specific questions, but I'm looking for some books that would provide guidance on the full range of Maple's potential.  I'm not looking for a primer, but rather something as comprehensive as the help files that makes fewer assumptions about the reader's knowledge and is written

Would someone please give me the correct syntax for finding extrema on a closed interval for

f(x) = 3x^4 - 4x^3  on the interval [-1, 2]

that would include the left & right endpoints should one of those be the maximum or minimum.

Alla

 

How would you graph the eight curve in Maple?

x^4 = a^2 (x^2 - y^2)

Alla

In a previous post I described how to call OpenMaple from a C# application (see: Using OpenMaple with C#) Now, I'd like to tackle the reverse problem: how do I call a C# .dll from within Maple? The way to do this involves using Component Object Model (COM) interoperability in the Microsoft .NET Framework. Because Maple's kernel is written in an "unmanaged" language, a wrapper is needed in order to bridge to your managed C# code. This article will outline the steps needed to create this bridge and get Maple talking to C#.

First 37 38 39 40 41 42 43 Last Page 39 of 64