## Stem and Leaf Plot

by: Maple

Following @acer 's challenge to create some more examples for the Rosetta Code project, I've put together some code that constructs Stem-And-Leaf plots here.

I've also attached a new mathapp ( StemAndLeafDisplay.mw ) that contains the code as well as an interactive example for Stem-Plots. This MathApp is also viewable online on the MapleCloud here.

This older post may also be of interest for anyone looking to make a stem and leaf plot with decimals.

## Introduction to Thermodynamics

Maple 18

With this contribution we opened a breach in the proper use of the program applied Thermodynamics.

Introducción_a_la_Termodinámica.mw     (in spanish)

## DEs and Mathematical Functions Updates 2014 (Jan - Jun...

by:

Hi,
The FunctionAdvisor project is currently developing at full speed. During the last two months, a significant amount of new conversion routines and mathematical information for Jacobi elliptic and Jacobi Theta functions, on identities, periodicity, transformations, etc. got added to the conversion network for mathematical functions and to the FunctionAdvisor. The previous months was the turn of the set of complex components, added to the network. Developments regarding the simplification and integration of special functions (e.g SphericalY for computing spherical harmonics or Dirac), as well as fixes to the numerical evaluation of JacobiAM, `assuming` and to differential equation subroutines are also part of the update.

These developments are available to everybody as usual in the Maplesoft R&D Differential Equations and Mathematical Functions webpage. Below there is a list of the latest developments as seen in the worksheet that comes in the zip with the DEsAndMathematicalFunctions update.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

## bug report: Matrix of strings

by: Maple

The problem is when initializing a Matrix with a list of strings. The worksheet excerpt below shows the normal behavior using a list of integers to initialize a square matrix: the successive list elements fill the matrix by rows.

Then trying the exact same thing with a list of strings instead of integers gives an error message!
This is not right. While it is an odd and likely rare problem, it would be better fixed.

x := [i \$ i=1..25];
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
Matrix(5,5,x);

y := map(convert,x,string);
["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25"]
Matrix(5,5,y);
Error, (in Matrix) initializer defines more columns (25) than column dimension parameter specifies (5)

## Power Group Enumeration (update).

by:

Greetings to all.

As some of you may remember I have posted several announcements concerning Power Group Enumeration and the Polya Enumeration Theorem this past year, e.g. at this MaplePrimes link: Power Group Enumeration.

I have continued to work in this field and for those of you who have followed the earlier threads I would like to present some links to my more recent work using the Burnside lemma. Of course all of these are programmed in Maple and include the Maple code and it is with the demonstration of Maple's group theory capabilities in mind that I present them to you (math.stackexchange links).

The third and fourth to last link in particular include advanced Maple code.

The second entry is new as of October 30 2015.

With my best wishes for happy group theory computing with Maple,

Regards,

Marko Riedel

## Physics updates 2014 (Jan-Jun)

by:

Hi,
An interesting sequence of enhancements and new developments happened in the Physics package during this first half of the year. During the last month, improvements happened in the handling of Vectorial expressions and quantum mechanics using Dirac’s notation. During April and part of May it was the turn of general relativity enhancements.

Some of the developments are also interesting beyond Physics. For example: it is now possible to multiply equations. Suppose you have A = B   (1), and C = D   (2), multiplying as in (1) (2) now results in lhs((1)) lhs((2)) = rhs((1)) rhs((2)), saving a lot of typing. You can also perform (1)/(2) or (1)^2. Some enhancements in Physics related simplification, integration, `assuming`, and typesetting - e.g. the simplification and integration of spherical harmonics (SphericalY function) are also part of the update.

These developments are available to everybody as usual in the Maplesoft R&D Physics webpage. Below there is a list of the developments for the last month as seen in the worksheet that comes in the zip with the Physics update.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

## Maple implementation of "24" game

by: Maple 12

I learned about this problem from Aser's post   See  page of tasks still without  Maple implementation.

The procedure  game24  solves the problem. In the procedure Acer's  procedure  MyHandler is  used, which prevents the program to stop in case of 0 in the denominator.

game24:=proc(a,b,c,d)

local MyHandler,It, K, M, i, P;

uses StringTools, combinat;

MyHandler := proc(operator,operands,default_value)

NumericStatus( division_by_zero = false );

return infinity;

end proc;

NumericEventHandler(division_by_zero=MyHandler);

It:=proc(L1,L2)

local i, j, L;

L:=[];

for i in L1 do

for j in L2 do

L:=[op(L), op([Substitute(Substitute("( i + j )","i",convert(i,string)),"j",convert(j,string)),Substitute(Substitute("( i - j )","i",convert(i,string)),"j",convert(j,string)),Substitute(Substitute("( i * j )","i",convert(i,string)),"j",convert(j,string)),Substitute(Substitute("( i / j )","i",convert(i,string)),"j",convert(j,string))])];

od; od;

L;

end proc;

P:=permute([a,b,c,d]);

K:=[];

for i in P do

K:=[op(K),op(It(It(It([i[1]],[i[2]]),[i[3]]),[i[4]])), op(It(It([i[1]],It([i[2]],[i[3]])),[i[4]])), op(It([i[1]],It(It([i[2]],[i[3]]),[i[4]]))), op(It([i[1]],It([i[2]],It([i[3]],[i[4]])))), op(It(It([i[1]],[i[2]]),It([i[3]],[i[4]])))];

od;

M:=[];

for i in K do

if parse(i)=24 then M:=[op(M), i] fi;

od;

if nops(M)=0 then return `No solutions` else

for i in M do

print(SubString(i,2..length(i)-1));

od; fi;

end proc:

Two examples:

game24(2,3,8,9);

game24(2,3,3,4);

No solutions

24.mws

## 10-bar linkage spherical mechanism. Animation.

by:

http://vk.com/doc242471809_295040421

The new method and approach to the calculation of the geometry and kinematics linkages. It is based on the Draghilev method for solving systems of nonlinear equations.

( 10-bar linkage spherical mechanism animation. Program text for professionals only.)

MECHAN123_SPHERE_10.mw

## convert help of older maple version to 18

by:

you can change help of older maple version to 18 by this command:

`HelpTools:-Database:-ConvertAll():`

for example if you download DirectSearch optimization package it's help don't open in maple 18 because in maple 18 .hdb converted to .help and you can do this convert by HelpTools:-Database:-ConvertAll():

DirectSearch version 2 created for maple 13 and i converted it's help to 18.

after i typed this command maple 18 wrote:

"Converting G:\\Program Files\\Maple 18\\lib\\DirectSearch.hdb to G:\\Program Files\\Maple 18\\lib\\DirectSearch.help"
Warning, .hdb help databases are deprecated, 'G:\Program Files\Maple 18\lib\DirectSearch.hdb' will not be used, see ?HelpTools,Migrate help page for more information.

and when try again it worked properly and DirectSearch help opened.

## rosettacode.org

by: Maple

I see two recent items on the web about Mathematica and the rosettacode.org site. One was a Wolfram Inc. corporate blog post, and the other a post on Wolfram's relatively new community site.

There are many items on the page of tasks still without a submitted Maple implementation. It would be nice to see interesting implementations of some remaining tasks, as contributions from the Maple user base. The tasks remaining are of very mixed difficulty levels.

To date there are only 132 entries on the page for Maple implementations of that site's programming tasks. (Of these about 40 were submitted by one member while about 80 were submitted by another member.)

acer

## Maple WWW Net

DigiArea Team is proud to present Maple WWW Net.

Maple WWW Net is a part of Maple WWW technology that brings integration with MapleNet. Now you can access the power of Maple core directly from your worksheets in the internet. Maple WWW Net allows you to develop Maple worksheets enriched by live computations and interactive controls.

You can read more about the technology here:
http://digi-area.com/light/MapleWWW/

## June Live Webinars

by: Maple

Maplesoft regularly hosts live webinars on a variety of topics. Below you will find details on some upcoming webinars we think may be of interest to the MaplePrimes community.  For the complete list of upcoming webinars, visit our website.

Bring Statistics Education to Life!

This exciting new webinar will demonstrate some of the ways that educators can take advantage of Maple’s symbolic and numeric approach for statistics education. Examples will include basic statistics theory including descriptive statistics such as measures of central tendency and spread, hypothesis testing, as well as discrete and continuous random variables.

Many examples presented in this webinar will be taken from the new Student Statistics package that was introduced in Maple 18. The Student Statistics was designed with classroom use in mind, and features detailed explanations and instructions, interactive demonstrations, and visualizations, all of which are great learning tools for teaching a course involving probability and statistics.

Symbolic Computing for Engineering

As engineering applications become more complex, it is becoming increasingly difficult to satisfy the often-conflicting project constraints using traditional tools. As a result, we’ve found there is a growing interest within the engineering community for tools that make engineering calculations transparent and capture not just results but also the knowledge and analysis used throughout the engineering workflow. Engineering organizations are achieving this goal by making symbolic techniques an integral part of their tool set.

In this webinar, Laurent Bernardin will demonstrate how to enhance the early-stage design phase by making mathematical computations explicit and transparent, and then integrating the results into an existing tool chain.

## Useful and interesting link

Maple

Take a look at this link.

## Clickable Calculus Study Guide

by: Maple

We have just released an all-new, second edition of the Calculus Study Guide.

This guide has been completely rewritten and greatly expanded and to take full advantage of Maple’s Clickable Math approach.  It covers all of Calculus I and Calculus II and has over 450 worked examples, the vast majority of which are solved using interactive, Clickable Math techniques.

Not only is this guide useful for students learning calculus, but it can also serve as a guide for instructors interested in pursuing a syntax-free approach to using Maple in their teaching.

See Clickable Calculus Study Guide for more information.  For even more information, you could also attend a live webinar about the new study guide next Wednesday.

eithne

## May Live Webinars

by: Maple MapleSim MapleSim Control Design Toolbox

Maplesoft regularly hosts live webinars on a variety of topics. Below you will find details on some upcoming webinars we think may be of interest to the MaplePrimes community.  For the complete list of upcoming webinars, visit our website.

Hollywood Math (with more new examples!)

Over its storied and intriguing history, Hollywood has entertained us with many mathematical moments in film. John Nash in “A Beautiful Mind,” the brilliant janitor in “Good Will Hunting,” the number theory genius in “Pi,” and even Abbott and Costello are just a few of the Hollywood “mathematicians” that come to mind.

Although the widespread presentation of mathematics on the silver screen is not always entirely accurate, it does serve as a great introduction to the study of mathematics in general. During this webinar Maplesoft will present a number of examples of mathematics in film. See relevant, exciting examples that you can use to engage your students.At the end of the webinar you’ll be given an opportunity to download an application containing all of the Hollywood examples that we demonstrate.

Applications of Symbolic Computation in Control Design

You may already use Maple and/or MapleSim within your organization to solve various problems, but did you know that they have capabilities for control design as well? In one of our upcoming featured webinars for this month, we will explore the Control Design toolbox including the ability to extract symbolic equations of plant models, perform symbolic linearization, design symbolic controllers, and generate very fast code for HIL testing.

The following examples will be demonstrated:

• PID Control

• LQR, Kalman filter design

• Gain scheduling

• Feedback linearization