Maple (software) explained

Maple
Developer:Waterloo Maple (Maplesoft)
Released:1982
Programming Language:C, Java, Maple
Genre:Computer algebra system, Numeric computation
License:Proprietary commercial software
Platform:Windows (7, 8 and 10), macOS, Linux
Language:English, Japanese, and limited support in additional languages[1]

Maple is a symbolic and numeric computing environment as well as a multi-paradigm programming language. It covers several areas of technical computing, such as symbolic mathematics, numerical analysis, data processing, visualization, and others. A toolbox, MapleSim, adds functionality for multidomain physical modeling and code generation.

Maple's capacity for symbolic computing include those of a general-purpose computer algebra system. For instance, it can manipulate mathematical expressions and find symbolic solutions tocertain problems, such as those arising from ordinary and partial differential equations.

Maple is developed commercially by the Canadian software company Maplesoft. The name 'Maple' is a reference to the software's Canadian heritage.

Overview

Core functionality

Users can enter mathematics in traditional mathematical notation. Custom user interfaces can also be created. There is support for numeric computations, to arbitrary precision, as well as symbolic computation and visualization. Examples of symbolic computations are given below.

Maple incorporates a dynamically typed imperative-style programming language (resembling Pascal), which permits variables of lexical scope.[2] There are also interfaces to other languages (C, C#, Fortran, Java, MATLAB, and Visual Basic), as well as to Microsoft Excel.

Maple supports MathML 2.0, which is a W3C format for representing and interpreting mathematical expressions, including their display in web pages.[3] There is also functionality for converting expressions from traditional mathematical notation to markup suitable for the typesetting system LaTeX.

Architecture

Maple is based on a small kernel, written in C, which provides the Maple language. Most functionality is provided by libraries, which come from a variety of sources. Most of the libraries are written in the Maple language; these have viewable source code. Many numerical computations are performed by the NAG Numerical Libraries, ATLAS libraries, or GMP libraries.

Different functionality in Maple requires numerical data in different formats. Symbolic expressions are stored in memory as directed acyclic graphs. The standard interface and calculator interface are written in Java.

History

The first concept of Maple arose from a meeting in late 1980 at the University of Waterloo.[4] Researchers at the university wished to purchase a computer powerful enough to run the Lisp-based computer algebra system Macsyma. Instead, they opted to develop their own computer algebra system, named Maple, that would run on lower cost computers. Aiming for portability, they began writing Maple in programming languages from the BCPL family (initially using a subset of B and C, and later on only C).[4] A first limited version appeared after three weeks, and fuller versions entered mainstream use beginning in 1982.[5] By the end of 1983, over 50 universities had copies of Maple installed on their machines.

In 1984, the research group arranged with Watcom Products Inc to license and distribute the first commercially available version, Maple 3.3.[5] In 1988 Waterloo Maple Inc. (Maplesoft) was founded. The company's original goal was to manage the distribution of the software, but eventually it grew to have its own R&D department, where most of Maple's development takes place today (the remainder being done at various university laboratories[6]).

In 1989, the first graphical user interface for Maple was developed and included with version 4.3 for the Macintosh. X11 and Windows versions of the new interface followed in 1990 with Maple V. In 1992, Maple V Release 2 introduced the Maple "worksheet" that combined text, graphics, and input and typeset output.[7] In 1994 a special issue of a newsletter created by Maple developers called MapleTech was published.[8]

In 1999, with the release of Maple 6, Maple included some of the NAG Numerical Libraries.[9] In 2003, the current "standard" interface was introduced with Maple 9. This interface is primarily written in Java (although portions, such as the rules for typesetting mathematical formulae, are written in the Maple language). The Java interface was criticized for being slow;[10] improvements have been made in later versions, although the Maple 11 documentation[11] recommends the previous ("classic") interface for users with less than 500 MB of physical memory.

Between 1995 and 2005 Maple lost significant market share to competitors due to a weaker user interface.[12] With Maple 10 in 2005, Maple introduced a new "document mode" interface, which has since been further developed across several releases.

In September 2009 Maple and Maplesoft were acquired by the Japanese software retailer Cybernet Systems.[13]

Version history

Features

Features of Maple include:[29]

Examples of Maple code

The following code, which computes the factorial of a nonnegative integer, is an example of an imperative programming construct within Maple:myfac := proc(n::nonnegint) local out, i; out := 1; for i from 2 to n do out := out * i end do; outend proc;Simple functions can also be defined using the "maps to" arrow notation: myfac := n -> product(i, i = 1..n);

Integration

Find

\int\cos\left(x
a

\right)dx

. int(cos(x/a), x);Output:

a\sin\left(

x
a

\right)

Determinant

Compute the determinant of a matrix. M := Matrix(1,2,3, [a,b,c], [x,y,z]]); # example Matrix

\begin{bmatrix} 1&2&3\\ a&b&c\\ x&y&z \end{bmatrix}

LinearAlgebra:-Determinant(M);

bz-cy+3ay-2az+2xc-3xb

Series expansion

series(tanh(x), x = 0, 15)

x-1
3
3+2
15
x
5-17
315
x

x7

{}+62
2835
9-1382
155925
x

x11+

21844
6081075

x13+l{O}\left(x15\right)

Solve equations numerically

The following code numerically calculates the roots of a high-order polynomial: f := x^53-88*x^5-3*x-5 = 0

fsolve(f)

-1.097486315, -.5226535640, 1.099074017

The same command can also solve systems of equations: f := (cos(x+y))^2 + exp(x)*y+cot(x-y)+cosh(z+x) = 0:

g := x^5 - 8*y = 2:

h := x+3*y-77*z=55; fsolve;

Plotting of function of single variable

Plot

x\sin(x)

with

x

ranging from -10 to 10: plot(x*sin(x), x = -10..10);

Plotting of function of two variables

Plot

x2+y2

with

x

and

y

ranging from -1 to 1:plot3d(x^2+y^2, x = -1..1, y = -1..1);

Animation of functions

f:=

2k2
\cosh2\left(xk-4k3t\right)
plots:-animate(subs(k = 0.5, f), x=-30..30, t=-10..10, numpoints=200, frames=50, color=red, thickness=3);

plots:-animate3d(cos(t*x)*sin(3*t*y), x=-Pi..Pi, y=-Pi..Pi, t=1..2);

M := Matrix(400,400,200, [100,100,-400], [1,1,1]], datatype=float[8]): plot3d(1, x=0..2*Pi, y=0..Pi, axes=none, coords=spherical, viewpoint=[path=M]);

Laplace transform

f := (1+A*t+B*t^2)*exp(c*t);

\left(1+At+Bt2\right)ec

inttrans:-laplace(f, t, s);
1+
s-c
A+
(s-c)2
2B
(s-c)3

inttrans:-invlaplace(1/(s-a), s, x);

eax

Fourier transform

inttrans:-fourier(sin(x), x, w)

I\pi(Dirac(w+1)-Dirac(w-1))

Integral equations

Find functions

f

that satisfy the integral equation
1(xy+x
f(x)-3\int
-1

2y2)f(y)dy=h(x)

.eqn:= f(x)-3*Int((x*y+x^2*y^2)*f(y), y=-1..1) = h(x):intsolve(eqn,f(x));

f\left(x\right)=\int

1
-1

\left(-15{x}2{y}2-3xy\right)h\left(y\right){dy}+h\left(x\right)

Use of the Maple engine

The Maple engine is used within several other products from Maplesoft:

Listed below are third-party commercial products that no longer use the Maple engine:

See also

External links

Notes and References

  1. Web site: International Language Support in Maple. Maplesoft. 2 June 2016.
  2. http://www.bitwisemag.com/copy/reviews/software/maths/maple10_mathematica52.html Power of two
  3. Web site: Welcome to the Maplesoft MathML Home Page. www.maplesoft.com.
  4. MacCallum. Malcolm A. H.. Computer algebra in gravity research. Living Reviews in Relativity. 21. 1. 2018. 6. 2367-3613. 10.1007/s41114-018-0015-6. 30174551. 6105178. 2018LRR....21....6M . free.
  5. Web site: History of Maple. 1998-12-15. 2020-04-06.
  6. Two such university labs are the Symbolic Computation Group at the University of Waterloo and the Ontario Research Centre for Computer Algebra at the University of Western Ontario
  7. http://www.maplesoft.com/support/help/Maple/view.aspx?path=updates/v52 Maple V Release 2 Notes
  8. Web site: MTN Special Issue 1994. web.mit.edu.
  9. http://www.macworld.com/article/1870/2001/02/21reviewsmaple.html Maple 6.0
  10. http://www.scientific-computing.com/scwoctnov05review.html Capturing knowledge with pure maths
  11. http://www.maplesoft.com/documentation_center/maple11/Install.html Maple 11 Installation Guide
  12. http://history.siam.org/oralhistories/gonnet.htm Interview with Gaston Gonnet, co-creator of Maple
  13. Web site: Maplesoft Media Releases. www.maplesoft.com.
  14. Web site: MaplePrimes Blog - Maple 13 and MapleSim 2 now available. 28 Apr 2009.
  15. Web site: MaplePrimes Blog - Announcing Maple 14 and MapleSim 4. 29 Apr 2010.
  16. Web site: MaplePrimes Blog - Introducing Maple 15. 11 Apr 2011.
  17. Web site: MaplePrimes Blog - Maple 16 is here. 28 Mar 2012.
  18. Web site: MaplePrimes Blog - Introducing Maple 17. 13 Mar 2013.
  19. Web site: MaplePrimes Blog - Announcing Maple 18. 5 Mar 2014.
  20. Web site: MaplePrimes Blog - Maple 2015 is now available!. 4 Mar 2015.
  21. Web site: MaplePrimes Blog - Announcing Maple 2016. 2 Mar 2016.
  22. Web site: MaplePrimes Blog - Announcing Maple 2017. 25 May 2017.
  23. Web site: MaplePrimes Blog - Maple 2018 is here!. 21 Mar 2018.
  24. Web site: MaplePrimes Blog - Announcing Maple 2019. 14 Mar 2019.
  25. Web site: MaplePrimes Blog - Maple 2020 has launched!. 20 Mar 2020.
  26. Web site: MaplePrimes Blog - Unveiling Maple 2021. 2 Mar 2024.
  27. Web site: MaplePrimes Blog - Unboxing Maple 2022. 2 Mar 2024.
  28. Web site: MaplePrimes Blog - Maple 2023 is here!. 2 Mar 2024.
  29. Web site: What is Maple: Product Features - Math & Engineering Software - Maplesoft. www.maplesoft.com.
  30. http://www.maplesoft.com/applications/view.aspx?SID=33073&view=html Using the New Fly-through Feature in Maple 13
  31. Mahmud. Khizir. Town. Graham E.. A review of computer tools for modeling electric vehicle energy requirements and their impact on power distribution networks. Applied Energy. June 2016. 172. 337–359. 10.1016/j.apenergy.2016.03.100.
  32. Web site: MaplePrimes Blog - Introducing the Maple Quantum Chemistry Toolbox. 6 May 2019.
  33. Web site: Release Notes for Symbolic Math Toolbox. MathWorks. 10 July 2014.