Applications, Examples and Libraries

Share your work here

It always makes me happy to see people using Maple for interesting things.  So I was pleased to see this blog post on Technology Review about this paper on arXiv on quantum randomness.  In this case, they are just comparing random numbers generated from lasers (this is why physicists get better press than mathematicians: LASERS!) with pseudo-random numbers generated using Meresenne Twister implemented in Maple, pseudo-random numbers generated using a Celluar Automata method implemented in another computer algebra system, and then binary digits of π treated as a pseudo-random sequence.  (Spoiler: the lasers win)

While not a particularly interesting use of computer algebra systems, it did inspire me to revisit my old blog post on pseudo-random numbers in Maple and now I am working on a follow up that talks about some of the mathematical and statitical tests used to test the quality of pseudo-random number sequences which I hope to post soon.

Just for fun, I'm reviving the Maple soccer ball in anticipation of the FIFA final. You can make a simple animation by adding the option viewpoint=[circleleft] to the display command.

with(plots):
geom3d[TruncatedIcosahedron](p);
V := evalf(geom3d[faces](p));
display(seq(polygonplot3d(V[i], color = `if`(nops(V[i]) = 5, black, white)), i = 1 .. 32), scaling = constrained);

The Maple ?Compiler can compile a limited subset of Maple commands to native code. The result is substantially faster than running interpreted Maple code. This article shows how you can save a compiled procedure for reuse.

When a Maple procedure is compiled, a shared object library (dynamic-linked library for Windows) is created on the file system, as a temporary file.  When the Maple...

I had started to create a procedure for finding the centroid of a list of points.

Centroid := proc (list)
local a, centroid, x, y, i:
a := nops(list):
x := 0:
yi := 0:
for i from 1 to a do
x := x+list[i, 1]:
y := y+list[i, 2]:
end do:
print(`Centroid is at`,([xi, yi]/a)):
end proc:

But I thought there needs to be something simpler than that.  And here we are.

Centroid2 := proc (list)
local i:
print(`Centroid is at`, add(i, i = list...

Having Maple 12 I try to use concurrent gfun version 3.52 and have problems
to run an example (from a lecture):

libname:= "D:\\_Work\\Maple_Work\\z_Packages\\gfun", libname; # my setting

with(gfun) : gfun:-version();
with(NumGfun) :
                                 3.52

Here is a challenge: reproduce this Mathematica notebook in Maple - without cheating, naturally.

I think I'm jealous.  But I'd love to be shown wrong and have someone do up a Maple 14 document which does everything that that notebook does, only better.

  restart; interface(version);
  Digits:=14;
  Classic Worksheet Interface, Maple 12.02, Windows, Dec 10 2008 Build ID 377066

                             Digits := 14

  Psi(1/8):
  %=convert(%, Sum); # compare the FunctionAdvisor as well ...
  evalf(%);
 
  ...

Saving a 3D object computed in Maple.  Maple itself has only limited capabilities for this.

There is a Maple library called JavaViewLib that sends the data from Maple to a Java applet called JavaView.

From there it can be viewed and saved in many different formats.

Find all the info at www.javaview.de

The last web page update was 2006, but the server that provides the free licenses is still running.

Mostly JavaViewLib...

For fun, I have created a sweet and short small animation procedure, which I must say is one of my biggest programs yet (gasp!) as much as I have played with Maple I should have at least created a few more ... In any case, it is a procedure of a random set of numbers chosen and displayed in a histogram on the left with a running total tallied on the right. It is by no means efficient (but feel free to fix up my code and tweak it a little bit, and let me know so I can learn more...

 I would like to pay attention of the Maple Primes Users to a Sergey Moiseev application. This is a Maple package on orthogonal expansions, which can be implemented in Maple as a usual package with a usual help. It  has Community Rating 4 stars. This package can be downloaded from http://www.maplesoft.com/applications/view.aspx?SID=33406



 

Points and lines, and the relationships between them, are essential ingredients of so many problems in, for example, calculus. In particular, obtaining the equation of the perpendicular bisector of a line segment, dropping a perpendicular from a point to a given line, and calculating the distance from a point to a line are three tasks treated in elementary analytic geometry that recur in the applications....

I spend much of my time traveling for business. These trips often last a week, and we try to visit as many potential customers as possible, and in the most efficient order. This involves matching our hosts' calendars with our own, booking the most cost effective travel options, and coping with last-minute cancellations and changes. It isn’t easy!

This has become so much easier with the advent of shareable calendars and mapping services, like Google Maps. ...

A long while ago, I wrote a couple posts (part1 and part2) about mining data from the US SSA website.  I subsequently adapted the code from those blog posts into a visual application with sliders and interactive plots.  If you have played with the new ?MapleCloud functionality in Maple 14, you may have seen it posted already.

Back in July of 2005, one of the early Tips & Techniques articles (since updated) in the Maple Reporter was a comparison of two different approaches to fitting a circle to 3D data points. The impetus for the comparison was Carl Cowen's article on the subject. His approach was algebraic - he used the singular value decomposition to obtain a basis for the...

First 68 69 70 71 72 73 74 Page 70 of 77