Both Mathcad and Maple have their own unique design principles. However, Maple’s symbolic math engine is far more powerful, and is allied with an easy-to-use interface.
Here, we describe a few applications of symbolic math in Maple. These are applications for which Mathcad fails to give answers, or simply does not have the functionality to even attempt the analysis.
See more: How does Maple compare with Mathcad?
ODE Solving
Maple offers the world’s most powerful differential equation solvers.
Here, we solve the Euler-Bernoulli equation – a 4th order differential equation - for modeling the bending of a beam.
Euler-Bernoulli equation
Initial and boundary conditions
Distributed load and point load
Solve the differential equation for beam deflection
|
Mathcad does not offer any tools for solving ODEs symbolically.
PDE Solving
Independent benchmarks show that Maple is the world’s best tool for solving PDEs.
Here, we solve the heat equation. The answer is in terms of the error function, erf.
Mathcad offers no tools for solving PDEs symbolically.
Solve Equations
Maple has the most powerful symbolic solvers of any math system – here’s why:
Special functions
For example, Maple has a broad database of special functions. These are normally only encountered in advanced mathematical analysis; a few examples are LambertW, Fresnel, Bessel and Appell. Maple lets you use these special functions without any specific training; this helps you rearrange and solve equations that are not possible in Mathcad.
Here, we rearrange the photovoltatic diode equation for the forward current – the result employs the LambertW function.
Mathcad only.
Rearrange complicated trigonometric relationships
Modeling the kinematics of a multibody system often results in complicated trigonometric relationships. Deriving the position constraints means you need to rearrange these equations to give the joint angles. This is a tough problem, especially for more complex systems.
Next, we solve for the position constraints of a 2-DOF robot arm to give the joint angles.
|
|
|
Mathcad will not rearrange these equations symbolically.
Control Systems Design
Maple offers tools for symbolic control systems modeling. Here, we find the symbolic controllability matrix for a dc motor described by two differential equations.
|
|
Mathcad offers no tools for symbolic control systems design.
Code Generation
Maple can generate C code from symbolic math results. Maple factors out common subexpressions; this makes the code far more numerically efficient than hand-written code.
t1 = Tx * Tx;
t5 = t1 * t1; |
Mathcad has no code translation tools.