Maplesoft Blog

The Maplesoft blog contains posts coming from the heart of Maplesoft. Find out what is coming next in the world of Maple, and get the best tips and tricks from the Maple experts.

Happy Pride Month, everyone! June is a month for recognizing and celebrating the LGBT+ community. It was started to mark the anniversary of the Stonewall riots, which were a landmark event in the fight for LGBT+ rights. We celebrate Pride Month to honour those who have fought for their rights, acknowledge the struggles the LGBT+ community continues to face to this day, and celebrate LGBT+ identities and culture.

This Pride Month, I want to give a special shoutout to those in the math community who also identify as LGBT+. As a member of the LGBT+ community myself, I’ve noticed a fair amount of stigma against being queer in math spaces—and surprisingly often coming from within the community itself. It’s one thing for us to make jokes amongst ourselves about how none of us can sit in chairs properly (I don’t even want to describe how I’m sitting as I write this), but the similar jokes I’ve heard my LGBT+ friends making about being bad at math are a lot more harmful than they might realize. And of course it isn’t just coming from within the community—many people have a notion (whether conscious or unconscious) that all LGBT+ people are artistically inclined, not mathematical or scientific. Obviously, that’s just not true! So I want to spend some time celebrating queerness in mathematics, and I invite you to do the same.

One of the ways we’re celebrating queerness in math here at Maplesoft is with new Pride-themed Maple Learn documents, created by Miles Simmons. What better way to celebrate Pride than with trigonometry? This document uses sinusoidal transformations to mimic a pride flag waving in the wind. You can adjust the phase shift, vertical shift, horizontal stretch, and vertical stretch to see how that affects the shape of the flag. Then, you can watch the animation bring the flag to life! It’s a great way to learn about and visualize the different ways sinusoidal waves can be transformed, all while letting your colours fly!

 

A screenshot of a Maple Learn document. The plot window shows a pride flag constructed from sine waves, and the document describes how we will be adding wind in the form of function transformations.

For more trigonometry, you can also check out this fun paint-by-numbers that can help you practice the sines, cosines, and tangents of special angles. And, as you complete the exercise, you can watch the Pride-themed image come to life! Nothing like adding a little colour to your math practice to make it more engaging.

 

A screenshot of a Maple Learn document showing a partially coloured paint-by-numbers grid, where the numbers are special trig angles.

If you’re looking for more you can do to support LGBT+ mathematicians this Pride Month, take a look at Spectra, an association for LGBT+ mathematicians. Their website includes an “Outlist” of openly LGBT+ mathematicians around the world, and contact information if you want to learn more about their experiences. The Fields Institute has also hosted LGBT+Math Days in the past, which showcases the research of LGBT+ mathematicians and their experiences of being queer in the math community. Blog posts like this one by Anthony Bonato, a math professor at Toronto Metropolitan University, and interviews like this one with Autumn Kent, a math professor at the University of Wisconsin-Madison, can also help allies in mathematics to understand the experiences of their queer colleagues and how to best support them. Math is everywhere and for everyone—so let’s make sure that the systems we use to teach and explore math are for everyone too!

Happy Pride! 🏳️‍🌈

We've just launched Maple Flow 2023!

The new release offers many enhancements that help you calculate and write reports faster, resulting in polished technical documents. Let me describe a few of my favorite new features below.

You can now change the units of results inline in the canvas, without taking your hands off the keyboard. You can still use the Context Panel, but the new method is faster and enhances the fluid workflow that Flow exemplifies.

You can also enter a partial unit inline; Flow will automatically insert more units to dimensionally balance the system.

This is useful when results are returned in base dimensions (like time, length and mass) but you want to rescale to higher-level derived units. For an energy analysis, for example, you might guess that the result should contain units of Joules, plus some other units, but you don't know what those other units are; now, you can request that the result contains Joules, and Flow fills the rest in automatically.

The new Variables Palette lists all the user-defined variables and functions known to Flow at the point of the cursor. If you move your grid cursor up or down, the variables palette intelligently removes or adds entries.

You can now import an image by simply dragging it from a file explorer into the canvas.

This is one of those small quality-of-life enhancement that makes Flow a pleasure to use.

You can now quickly align containers to create ordered, uncluttered groups.

We've packed a lot more into the new release - head on over here for a complete rundown. And if you're tempted, you can get a trial here.

We have a lot more in the pipeline - the next 12 months will be very exciting. Let me know what you think!

On this day 181 years ago, Christian Doppler first presented the effect that would later become known as the Doppler effect. In his paper “On the coloured light of the binary stars and some other stars of the heavens”, he proposed (with a great deal of confidence and remarkably little evidence) that the observed frequency of a wave changes if either the source or observer is moving. Luckily for Doppler, he did turn out to be right! Or at least, right about the effect, not right about supernovas actually being binary stars that are moving really fast. The effect was experimentally confirmed a few years later, and it’s now used in a whole variety of interesting applications.

To learn more about how the Doppler effect works, take a look at this Maple MathApp. You can adjust the speed of the jet to see how the frequency of the sound changes, and add an observer to see what they perceive the sound as. You can even break the sound barrier, although the poor observer might not like that so much!

 

A screenshot of a Maple MathApp, showing a visual representation of sound waves coming off a moving jet, with sliders to adjust the speed.

 

For Maple users, you can also check out the MathApp on the relativistic Doppler effect. You’ll find it in the Natural Sciences section, under Astronomy and Earth Sciences. Settle in to watch those colours come to life!

A screenshot of a Maple MathApp showing a spectrum of colours, with sliders to control the initial wavelength of the light and a dial showing the current velocity of the viewer

 

But wait, I mentioned interesting applications, didn’t I? And don’t worry, I’m not just here to talk about sirens moving past you or figuring out the speed of stars (although admittedly, that one is pretty interesting too). No, I’m talking about robots. Some robots make use of the Doppler effect to help monitor their own speed, by bouncing sound waves off the floor and measuring the frequency of the reflected wave. A large change in frequency means that robot is zooming!

The Doppler effect is also used in the medical field—Doppler ultrasonography uses the Doppler effect to determine and visualize the movement of tissues and body fluids like blood. It works by bouncing sound waves off of moving objects (like red blood cells) and measuring the result. The difference in frequency tells you the speed and direction of the blood flow, in accordance with the Doppler effect! Pretty neat, if you ask me.

And like any good scientific phenomena, the Doppler effect can be used for both work and pleasure. The Leslie speaker is a type of speaker invented in the 1940s that modifies the sound by rotating a baffle chamber, or drum, in front of the loudspeakers. The change in frequency dictated by the Doppler effect causes the pitch to fluctuate, creating a distinct sound that I can only describe as “woobly”. The speaker can be set to either “chorus” or “tremolo”, depending on how much woobliness the user wants. It was typically used with the Hammond organ, and you can hear it in action here!

You know who else uses the Doppler effect? Bats. Since they rely on echolocation to get around, they need some way to account for the fact that the returning sound waves won’t be at the same pitch that they were sent out at. This fantastic video explains it far better than I ever could, and involves putting bats on a swing, which I think should be enough of a recommendation all on its own.

That’s it for our little foray into the Doppler effect, although there’s still a lot more that could be said about it. Try checking out those Maple MathApps for inspiration—who knows, maybe you’ll find a whole new use for this fascinating effect!