Product Tips & Techniques

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

We have just released the MapleSim Hydraulics Library from Modelon, a new add-on component library for advanced hydraulics modeling.  The result of a technology partnership with Modelon, the renowned developer of high-quality Modelica libraries, the MapleSim Hydraulics Library from Modelon allows you to:

  • Seamlessly combine hydraulic subsystems and components with other domains in a single modeling environment
    • Choose from over 150 components...

A peculiar consequence of the "smartview" of plots see updates Maple16 (plotting) is that the plot of a constant function only shows the rounding errors:

plot( arcsin+arccos, -1..1 );

Obviously Maple doesn't automatically simplify arcsin(x)+arccos(x) to Pi/2.

I was trying to get the labels and titles in a plot to be typeset using LaTeX fonts on a computer running SUSE 12.2.  Everything worked on a Windows 7 computer with the LaTeX fonts installed.  Maple 17 would use not use the CMU Open Type fonts that were installed on the Linux computer.  After switching in the CMU True Type fonts for the CMU Open Type fonts, everything works properly in the attached worksheet on the Linux machine.

  

I have a rather complicated expressions involving several parameters. The parameters are calibrated to some baseline. I'm interested in having a quick look at how changing each parameter changes the value of the expression. This is very standard. I wrote a procedure to create a list of values to the left and to the right of the base value for a given parameter. I then use that to look at my expression, to plot lists of expressions, and so on.

I thought I'd share this...

I'm sharing this in the hope it might help someone (my future self being the most likely). Since my suggestions are not perfect and a little messy, feel free to suggest better ways.

I spend a great deal of time tweaking my plots. Oftentimes I want to add labels to the curves right onto the plot. Most of the time it's easy to do. Occasionally I struggle. Sometimes I succeed, sometimes I give up.

Below is an example of the kind of plot I sometimes create. It's not perfect.

At any age we, being somewhat children, ask that. Here is the answer to such a question related to Maple. Let us consider the ODE

ode:=(2x^2-x-1)*y''(x)-(4x^3+x-2)*y'(x)+(4x^3+2x^2-2x+2)*y(x)=0;

and its general solution done with Maple

dsolve(ode);

y(x) = _C1*exp(x^2)+_C2*exp(x)*x.

The first thought is that Maple, mimicking the solution done by hand, finds a particular solution of the equation in the form y*(x)=exp(a*x^2+b*x). It fits...

(Presentation in Spain a month ago with a full description of the project and its current status)

A computational environment for Physicists

 

 

"Algebraic manipulations in Physics and related numerical exploration and visualization come together within computer algebra systems"

Project background

   

Three reasons for the underuse of Computer Algebra Systems in Physics

   

The Physics project goals

   

Status of things in Maple 17

   

Examples

   

 

 

Download PhysicsProjectDescri.mw

 


Edgardo S. Cheb-Terrab
Physics, Maplesoft

In a webinar on July 10, 2013, I solved the related rate problem:

Helium is pumped into a spherical balloon at the constant rate of 25 cu ft per min.
At what rate is the surface area of the balloon increasing at the moment when its radius is 8 ft?

A question in the Q&A at the end of the Webinar asked if it were possible to have an animation illustrate the expanding sphere and the rate of change in the surface area thereof. 

An update to Maple 17 is now available. Maple 17.01 includes improvements to the mathematics, interface, and plotting capabilities of Maple, including:

  • An expansion of the  video component to provide new start/stop time index controls and audio file support, as well as improved ability to play video files from a URL
  • Extended MATLAB® connectivity to include MATLAB® R2013a
  • Improvements to printing and resizing code edit regions

One of the most basic decisions a baseball manager has to make is how to arrange the batting order.  There are many heuristics and models for estimating the productivity of a given order.  My personal favourite is the use of simulation, but by far the most elegant solution from a mathematical perspective uses probability matrices and Markov chains.  An excellent treatment of this topic can be found in Dr. Joel S. Sokol's article,

We have just released a new, more powerful version of the Maple Global Optimization Toolbox.  

For this new release, Maplesoft has partnered with Noesis Solutions to develop a new version of the Maple Global Optimization Toolbox that is powered by Optimus technology. Optimus, from Noesis Solutions, is a platform for simulation process integration and design optimization that includes powerful optimization algorithms. This advanced technology is now available...

As described on the help page ?updates,Maple17,Performance, Maple 17 uses a new data structure for polynomials with integer coefficients. Our goal was to improve the performance and parallel speedup of polynomial algorithms that underpin much of the system and create a platform for large scale polynomial computations. Shown below is the new representation for 9xy3z

Just wanted to let everyone know that the fix provided for the plotting problem discussed here is now available as a Maple 16.02a update.  This update will be available through Check for Updates and through the Maple 16.02a download page.

 

eithne

MapleSim 6.1 is now available.  MapleSim 6.1 provides improved performance, more tools for programmatic analysis and custom components, connectivity enhancements, and more.  Here’s a sampling:

  • For all models, the model pre-processing phase is more efficient, so your simulation results appear sooner.
  • New API commands make it easier to analyze the parameters in your model programmatically. These commands can take advantage of the full...

Consider a signal which is a real sine series, f(x)=2*sin(2*Pi*x) + 5*sin(2*Pi*6*x) + 9*sin(2*Pi*11*x).

Let F(w) be its Fourier transform. Answer F(w) is purely complex and expressed in terms of symbol Dirac.

Maple "plot" fails.

Plots of impulse trains like F(w)=sqrt(Pi)*I*(2*Dirac(w-Pi)+4*Dirac(w-4*Pi)) involve user intervention. Maple won't plot such expressions, because they are DISTRIBUTIONS (not FUNCTIONS).

Try plotting F(w) to see the engine's uninformative error message....

First 26 27 28 29 30 31 32 Last Page 28 of 65