Applications, Examples and Libraries

Share your work here

Adeptes de Maple Learn, nous avons de bonnes nouvelles pour vous! Nous avons fait une mise à jour de Maple Learn avec quelques fonctionnalités supplémentaires que nous sommes ravis de partager avec vous.

Tout d'abord, nous avons ajouté des fonctionnalités de Conception réactive à Maple Learn. Cela signifie que lorsqu'un écran est plus petit ou rétréci, l'interface de Maple Learn change pour refléter cela. Cela vous permet d'avoir encore plus d'espace disponible, quelle que soit la taille de votre écran ! Par exemple, lorsque votre écran est suffisamment petit, et que vous cliquez dessus sur les palettes, une petite boîte de dialogue contextuelle s’ouvrira en dessous d'elles, au lieu d’avoir tout leur contenu dans la barre d'outils.

                                                         

Parallèlement à cela, une icône de redimensionnement d'image a été ajoutée à la barre d'outils pour faciliter le redimensionnement des images insérées dans votre document.

Comme note finale sur la conception réactive, plusieurs de nos menus ont été combinés en un seul, désigné par le menu latéral dans le coin supérieur gauche (illustré ci-dessous, à gauche). C'est là que vous trouverez les menus  fichier, édition, exemples et aide. Si vous cherchez le menu des paramètres, vous le trouverez entre le symbole premium et votre photo de profil en haut à droite. Ceci est désigné par trois points empilés les uns sur les autres (illustrés ci-dessous, à droite).

                                                                                        

Nous avons également ajouté plus de raccourcis clavier et augmenté la prise en charge du clavier AZERTY. La liste mise à jour est disponible ici. Nous espérons que ces nouveaux raccourcis vous aideront à créer des documents plus facilement.

Parallèlement à la prise en charge du clavier AZERTY, nous avons renforcé la prise en charge de nos utilisateurs francophones. De nombreux autres documents sont désormais disponibles en français et nous avons résolu un problème où les caractères latins étendus ne s'affichaient pas correctement.

Les graphiques cliquables sont là ! Maple Learn inclut désormais une fonctionnalité qui permet aux utilisateurs de colorier nos graphiques cliquables. Ces documents sont créés à l'aide de Maple et permettent de générer des documents de coloriage par numéro ou différentes visualisations pour les théorèmes qui impliquent des graphiques, comme ce document. D'autres documents seront disponibles ultérieurement dans la galerie de documents, située ici.

                                                          

Dites-nous ce que vous pensez des nouvelles fonctionnalités ci-dessous ! Nous espérons que vous apprécierez les utiliser pour créer de nouveau documents Maple Learn.

 

Works cited:

Anderson, Jill. “The Benefit of Interactive Learning.” Harvard Graduate School of Education, 2014, https://www.gse.harvard.edu/news/14/11/benefit-interactive-learning.

Kutbiddinova, Rimma, et al. “The Use of Interactive Methods in the Educational Process of the Higher Education Institution.” INTERNATIONAL JOURNAL OF ENVIRONMENTAL & SCIENCE EDUCATION, 2016, Accessed 2022.

Maple Learn enthusiasts, we’ve got some exciting news for you! We’ve updated Maple Learn with a few more features that we’re excited to share with you.

First, we’ve added responsive design features to Maple Learn. This means that when a screen is smaller or shrunk the Maple Learn interface changes to reflect that. This lets you have even more canvas space, regardless of your screen size! For example, when your screen is small enough, the palettes, when clicked on, give a small pop-up dialogue below them, instead of their options also appearing in the toolbar.

                                                         

Along with that, a resize image icon has been added to the toolbar to make it easier to resize the images you’ve inserted into your document.

As a final note on responsive design, several of our menus have been combined into one, designated by the hamburger icon in the top left corner (Shown below, left). This is where you’ll find the file, edit, examples, and help menus. If you are looking for the settings menu, it can be found between the premium symbol and your profile picture in the top right. This is designated by three dots stacked on top of each other (shown below, right).

                                                                                          

We’ve also added more keyboard shortcuts, and increased support for the AZERTY keyboard. The updated list can be found here. We hope these new shortcuts will help you create documents more easily.

Along with the support for the AZERTY keyboard, we’ve increased support for our French language users. Many more documents are now available in French, and we’ve resolved an issue where Latin extended characters weren’t being displayed properly.

Clickable plots are here! Maple Learn now includes functionality which allows users to color our clickable plots. These documents are created through Maple scripting, and allow for colour-by-number documents, or different visualisations for theorems that involve graphics, such as this document. More documents will be available in the document gallery later, located here.

                                                             

Let us know what you think of the new features below! We hope you enjoy using them in new and exciting ways.

Happy Lunar New Year to everyone here in the MaplePrimes community, as we enter the Year of the Tiger! There are different traditions followed in the many countries around the world where the Lunar New Year is celebrated. In my own Canadian-Chinese family, we usually cook a big meal and share with family members and friends. 

The pandemic has made this year's celebration more muted, but I did cook a large batch of our favourite dumplings and made up several packages to take to friends. That led to the question: how many ways can I arrange 10 dumplings on a plate from the 3 kinds I made? Of course, that called for a Maple Learn document to compute the answer: A Counting Problem: Selecting Dumplings
 


I was also interested in understanding the formula used in this computation, and so I created a second document showing a special case of this problem. By moving the sliders around, you can see how the "Stars and Bars" method for counting the ways one can choose a number of items from distinct bins works: Visualization the Stars and Bars Method.

I hope you enjoy trying out these documents and I wish everyone good health, happiness and prosperity in the coming year!

In November, I posted a message announcing that we have been working on an updated version of the Application Center, and invited comments from anyone wanting to check out the beta site. I received multiple comments, both as comments to that post, as well as directly, and we made a lot of changes based on the feedback. Thank you very much to everyone who responded.

I am now very happy to report that the new Application Center is now open to the public!

For those who aren't familiar with it, the Application Center has been around for over 20 years, and it provides a place for our user community to post and share their work. It includes over over 2,700 applications and examples covering a wide array of topics and disciplines, and all are freely available to download.

The previous version of the Application Center was overdue for a refresh. And while we were in there applying a fresh coat of paint, we also took the opportunity to add some new features and capabilities that we hope you will enjoy. As a quick summary of what has changed:

  • The look and feel has been significantly updated. It is cleaner, more modern and easier to use.
  • In addition to search, user-created collections and tags make it easier than ever to find and discover content.
  • Logged-in users can customize the site by pinning their favorite collections and content.
  • Logged-in users can also take advantage of their community reputation to help maintain the content in MaplePrimes, and your contributions will now contribute to your reputation scores. For example, when someone likes one of your apps, your reputation score will be increased by 5.
  • In addition to Maple content, Maple Flow documents are also now included. The collection is very small right now, but it will grow quickly.

There are plenty of other features and enhancements as well.

So without further ado, I invite you to check out the Application Center and to continue to provide your comments and suggestions!

Bryon

When I was in middle school, I was really into puzzles.  At one point I attempted the Three Utilities Problem.  This famous problem is deceptively simple: three houses and three “utilities” (heating, water, and electricity) are represented by dots on a flat piece of paper.  The goal is to connect each house to the three utilities without crossing any lines.

Figure 1: A starting setup.

I spent hours drawing lines.  I eventually looked it up online, and the internet told me that the problem was impossible.  I didn’t believe it, and tried for several more hours until I was forced to accept its impossibility.  I still remember this intense stint of puzzling to this day.

    

Figure 2: Cue twelve-year-old me saying “I’ll get it eventually…”

Looking back, I wonder if this sparked my interest in graph theory.  I know now that the Three Utilities Problem is truly unsolvable.  I know that the graph’s formal name is K3,3 and I know a full graph theory proof explaining its nonplanarity.  Nevertheless, I still love this puzzle, and I’ve recently recreated it in Maple Learn.

To do this, I created a table of x and y values and plotted all of them using the Point() command.  This allows the points to be fully click-and-drag-able.  Line segments joining two points automatically move with the points as well.  We then have a fully interactive graph directly in the Maple Learn plot window.  I can move the “houses” and “utilities” around all I want to try and solve the unsolvable.  I can also create other graphs to further explore planarity, paths, matchings, or any other aspects of the wide world of graph theory.

If you want to check out the document for yourself, it can be found here

A user wondered how to have Maple produce a desired form of a solution

eq1 := `σ__2` = P__2/(Pi*r^2)NULL

NULL

r := (1/2)*d

NULL

soln := `assuming`([solve(eq1, {d}, useassumptions)], [`σ__2`::real, d > 0, P__2 > 0])

{d = 2*(Pi*sigma__2*P__2)^(1/2)/(Pi*sigma__2)}

(1)

NULL

Parse:-ConvertTo1D, "first argument to _Inert_ASSIGN must be assignable"

Download question-better-spacing.mw

We suggested the closest they might be able to get is using simplify like so:

 

restart; eq1 := `σ__2` = P__2/(Pi*r^2)
``

``

r := (1/2)*d

``

soln := `assuming`([solve(eq1, {d}, useassumptions)], [`σ__2`::real, d > 0, P__2 > 0])

{d = 2*(Pi*sigma__2*P__2)^(1/2)/(Pi*sigma__2)}

(1)

``

`assuming`([simplify(soln)], [sigma__2::real, P__2 > 0])

{d = 2*P__2^(1/2)/(Pi^(1/2)*sigma__2^(1/2))}

(2)

NULL


Download suggestion.mw

Our user wondered about using PolynomialIdeals:

1.  If we have n+1 polynomials,  f, g1,...,gn,  how to determine if  f  is in the ideal generated by  g1,...,gn?

2.  If so, how to write  f  as a polynomial combination of   g1,...,gn? 

We suggested that;

The nicest interface to answer the first question is given by the ?PolynomialIdeals,Operators page: you can write

with(PolynomialIdeals):
with(Operators):
J := <g1, g2, ..., gn>;
f in J; # true or false

To answer the second question, you need to use the lower level  package (which underlies the  package). This will also answer the first question for you. In particular the  command. You can write:

(Edit Feb 1, 2022 - use  instead of 

with(Groebner):
G := [g1, g2, ..., gn];
ord := tdeg(x,y,z); # replace x, y, z with the appropriate variables; you can also use other variable orders -- see ?Groebner,MonomialOrders

b := Basis(G, ord);
n := NormalForm(f, b, ord, 'Q');
# if n = 0 then f is in the ideal; Q is the list of coefficients:
f - add(Q[i] * b[i], i = 1 .. numelems(b)); # this will be equal to n.

A user would like to know if it is possible to specify a data set say, x:=[1,2,3,4,5,6] and then extract a random sample from that data set, i.e. xsample:=[3,2,4] for a bootstrapping-type calculation.

We suggested they use something like the following:

restart; with(Statistics); my_data := [1, 2, 4, 5.5, 5.5, 6]; X := RandomVariable(EmpiricalDistribution(my_data)); s := Sample(X, 10); Bootstrap(Mean, X, samplesize = 4, replications = 10000)

HFloat(3.9984625)

(1)

NULL

Download array-random-sample.mw

As always, it's just about drawings.
The parametric equation of a circle has 3 variables and two equations. In 3-dimensional space, a circle is a spiral, but we only need one projection of this spiral into 2-dimensional space, and we also know how  the rest 2 it's projections on flat space look.
If we look at the equation of the sphere in parametric form, we will see that these are 3 equations and 5 variables:
x1 = sin(x4)*cos(x5); 
x2 = sin(x4)*sin(x5); 
x3 = cos(x4);
And so I wanted to see how the remaining 9 projections of the sphere onto 3-dimensional space look. It is very easy to do this with Maple.
SPHERE.mw

Are you teaching a calculus course? Then use Maple Learn, Maplesoft’s free online product, to do so.

Below are some examples of calculus documents you can create in Maple Learn.

 

1. Documents Explaining Concepts with Interactive Visuals

Example: Visualizing the Formal Definition of the Derivative

 

2. Interactive Quizzes

Example: The Product Rule: Practice Questions

 

3. Documents Using Maple to Perform Complex Operations

Example: Taylor Series Approximation Calculator

 

Maplesoft’s learn content team has already created about 200 Maple Learn calculus documents! The full list is here. You can modify these documents easily, and use them to teach your calculus class as well.

A user wonders if there is a straightforward way to show US states with names using the WorldMap Data Set in Maple

We suggest something like the attached: map-of-us-with-states.mw

 

restart; with(DataSets:-Builtin); r := Reference("GeoNames"); states := r[[Country = "United States", Type = "first-order administrative division"]]; w := WorldMap(); w:-AddPoints(w, states); Display(w, mapdata = fine, style = polygonoutline, size = [2000, 1500])

 

 

I've said it before, and I'll say it again, at Maplesoft, I have the privilege of working with some of the most talented and creative minds around. My colleagues are constantly pushing the boundaries of what we can build and what our products can do.Christmas Wreath in Maple Learn

So to close out 2021, I wanted to share a video that one of our brilliant developers, Marek, sent the company. Marek emails a greeting every year wishing his Maplesoft colleagues a Happy Holiday.  Well, this year, he stepped it up a notch and created this superb video explaining "How to decorate for Christmas using Math", where he created a wreath using Maple Learn.

Watching the video brought a smile to my face, and I know it did the same for others.

I hope this video warms your heart as it did mine. On behalf of all of us at Maplesoft, Happy Holidays!

Recently, the Maple Learn team hosted an internal Maple Learn day. The team encouraged Maplesoft employees to create Maple Learn content. A lot of art was created.

Below is a link to an example of Maple Learn art, and a picture relating to it. The document is interactive, so open it to see what it does.

Christmas Art, by Marek Krzeminski - Senior Architect at Maplesoft

If you too like to combine math and art, use Maple Learn here to create artwork yourself, and share it with us in the comments.


 

Recently I decided to compare continuity, related notions, and differentiability. Can a function be differentiable, but not continuous? What about uniformly continuous, but not differentiable? I used Maplesoft's new online product, Maple Learn (free to use at learn.maplesoft.com), to explore.

Here is a Maple Learn document I created. It is an organizational diagram, as shown below. Each rectangle in the diagram corresponds to a different property that a function may satisfy. Within each rectangle, examples are provided of functions satisfying the appropriate properties.

If you click on an example, it will be selected, and the corresponding function will be plotted in Maple Learn's context panel. Try it!

I've also created companion documents to explain certain concepts in greater detail. For instance, below is a snapshot of a document explaining uniform continuity, which you can access here.

By using sliders in the document, you can move and resize the rectangle drawn in the graph. You should notice when doing this that the green function never touches the horizontal sides of the rectangle. This turns out to be the "reason" why the function is uniformly continuous.

You can find a companion document on Lipschitz continuity here.

I’ve learnt a lot about continuity in creating the documents shown. I hope that you too have learnt something from them!

Although not mentioned in the documentation, the flexible beam component of MapleSim allows for simulation of large deflections.  

In the animation, a flexible beam is loaded with a moment (red arrow) at its free end. Assuming an Euler-Bernoulli beam and slow loading (i.e., no dynamic forces), the beam should deform to an arc of constant radiusNot only the deformation of the beam can be described analytically, also the path (red trace) of the free end follows an analytical curve.

 

I used this test case to get a better understanding of nonlinearities observed in an oscillating system using flexible beams. The system required tuning of the structure to develop mode coupling. This could not be explained by linear theory. It was unclear whether the large deflections (nonlinear kinematics of the beam) themselves or the implementation of the flexible beam component were responsible for that.  

 

What I have learned so far with the test case using only default settings: 

  • For moderate deflections there is no difference to textbook formulas.
  • Up to 15 degrees rotation of the end frame, the difference between observed displacement and the Bernoulli beam stays bellow 5%.  
  • Up to 30 degrees rotation of the end frame (as in the mode coupling example) the trace of the end frame conforms well with the analytical path.
  • To simulate very large deflections beyond 45 degrees rotation, the beam needs to be segmented to closely follow the analytical path.  

For those that are unsure about the fidelity of their models, I can suggest increasing the numbers of flexible beam components and to compare. I did this in the case of the mode coupling example and noticed no difference. So, the component was not responsible for the nonlinearities. It were the kinematics.

It's unclear whether this good performance in large deflections was intended or is a byproduct of the sophisticated multibody dynamics under the hood.  Maybe an expert can tell more.

Overall, to what I have seen the (static) performance was very satisfying. Judging dynamic performance is much more difficult. Has anyone experience to share with that?

Flexible_beams_const_moment_curve_MP.mw

Flexible_beams_const_Moment_single_beam_MP.msim

Flexible_beams_const_Moment_7_beams_MP.msim

is what I have used.

First 7 8 9 10 11 12 13 Last Page 9 of 71