MaplePrimes Posts

MaplePrimes Posts are for sharing your experiences, techniques and opinions about Maple, MapleSim and related products, as well as general interests in math and computing.

Latest Post
  • Latest Posts Feed
  • As many of you are aware, the Maple Application Center is a very important resource for Maple users. It is a place for authors to share their Maple work, and for users to have access to a rich collection of over 2,500 curated Maple documents covering a wide array of topics and disciplines.

    I am very pleased to announce that we have been hard at work on a new version of the Application Center, and it’s at a state where we’re ready to open it up to the public for testing. You can access the new site here: https://www.maplesoft.com/applications_beta . We are looking for feedback, so please give it a try, and let us know what you think!

    Here are a few of my favorite features of the new site:

    Updated Look & Feel
    The interface of the current version of the Application Center has not changed in many years, and it was time for a new paint job. I think you’ll find that the new site is cleaner, modern, and more enjoyable to use.

    Easier to Find the Documents you Want
    The updated Application Center provides multiple new ways to find content that is relevant for you. Browse user-made collections of documents or use tags (the same tags used in MaplePrimes) to find documents for the topics you are interested in. Alternatively, you can use the search bar to quickly find documents, tags or authors.

    Personalize your Experience
    If you are logged-in when using the Application Center, you will be able to customize what you see by pinning your favorite collections, authors or tags to your home page.

    Community Moderation & Reputation
    As with MaplePrimes, the strength of the Application Center comes from the amazing community of individuals who contribute to it. In addition to submitting your own content to the Application Center, users can now edit tags and create collections of content that others can use. Similar to MaplePrimes, community moderation is restricted to members who have a sufficient reputation score. Speaking of reputation, quality contributions to MaplePrimes will now be reflected in your reputation score. When someone likes one of your submissions, your reputation will increase by 5.

     

    There are many other great new features as well, and we have a roadmap of future updates planned that will make it even better.

    I invite you to take a look at the new site and play with it. Browse some content, search, look through tags, and create some collections. Most importantly, I’m really hopeful that you will then use the comments section below to let us know what you think. Did you discover any bugs or issues? What do you like? What do you dislike? What other features would you like to see?

    We are hoping to run the Beta for a period of a few weeks, and I’m looking forward to hearing and reading your thoughts. Hope you enjoy it!

    https://www.maplesoft.com/applications_beta

    Bryon

    Dear all,

    The November issue of Maple Transactions is now up (we will be adding a few more items to that issue over the course of the month).  See https://mapletransactions.org/index.php/maple/index for the articles.

    More importantly, Maple Primes seems to have a great many interesting posts, some of which could well be worked up into a paper (or a video).  Maple Transactions accepts worksheets (documents, workbooks) for publication, as well, although we want a high standard of readability for that.  I invite you to contribute.

    The next issue of Maple Transactions will be the Special Issue that is the Proceedings of the Maple Conference 2021 (see my previous post :)

    -r

    Do you have a Chromebook?  Are you a student or a teacher looking for the mighty power of Maple, but find yourself limited by your web-only computer? Well, have no fear, because Maple Learn is here!

    As a web-based application, Maple Learn is fully supported by Chromebooks. You can create graphs, perform and check calculations, and share documents all within the comfort of your own browser. No need to download any kind of software—just go to learn.maplesoft.com to get started!

    Students, if you’re looking for some use for your school-provided Chromebook and wondering how it can help you learn instead of just weighing down your backpack, Maple Learn can help. It’s the perfect, all-inclusive tool to help you learn, visualize, and check your math. And, if you’re looking to brush up on all that math you forgot over the summer, you can check out the Maple Learn Example Gallery, home to hundreds of examples and explanations of a wide variety of math concepts. And it’s all accessible on your Chromebook!

    Hi to all,

    Dr. Lopez's "Advanced Engineering Mathematics with Maple" is just excellent... I strongly advise...

    That book is my most favorite and Dr. Lopez is my favorite teacher :)

    Here's a podcast that covers a few topics that get discussed on MaplePrimes.
     

    We all like finding the right tool for the job. In the Sep 2021 episode of the Engineering Matters Podcast “#127 – Tools for Thinking” you can discover how far engineers have come in their quest for better tools.

    It features contributions from several members of the Maplesoft team as they discuss how the user experience shapes the adoption of engineering software tools.

    The hosts have fun describing some early calculation hacks - from early Sumerian farmers using their fingers as tally counters, to the paper calculus notebooks of the 1850s used by historical engineering figures like Isambard Kingdom Brunel. What starts as a necessity gets improved over time to save them mental effort – all driven by the way users interact with the tool.

    This episode gives a behind-the-scenes look at some of the decisions that shaped the engineering product that is now Maple Flow from its roots in Maple. Maplesoft CEO Laurent Bernardin describes the spark of innovation in the late 1970s, when two professors at the University of Waterloo developed Maple. “The two professors got together, realising that there was a need in math education for a tool to help with calculations and setting out to create that tool. And Maple was born quickly, was adopted across universities around the globe.”

    As engineers typically work in ways far removed from the regular academic setting, Product Manager Samir Khan weighs in on the shift that comes from a different user base: “Different tools have different design intents,” says Khan. “Some tools are designed for programmers such as code development environments, like Visual Studio. Some environments are aimed at mathematicians, people who need precise control over the mathematical structure of their equations, and some environments are designed for engineers who simply want to throw down a few equations on a virtual whiteboard and manipulate them and get results.”

    The conversation also touches on the design of the GUI itself. Margaret Hinchcliffe, Maple’s Senior GUI Developer expresses the importance of smoothing the user experience - drilling down and taking “the typical tasks that people want to do the most, and make those the most immediate. So really focusing on how many keystrokes do they need to do this task?”.

    Ironically the idea of the paper notebook still has features that are desirable. Khan muses on the idea that Maplesoft has “taken the first step with having a virtual whiteboard, but Maple Flow still relies on keyboard and mouse input”. He offers suggestions for what may be next in the industry: “It’d be interesting to see if we can take advantage of modern advances in deep learning and AI to imitate what humans are doing and interpreting handwritten mathematics.”

    You can listen to the entire podcast (~30 min) here: https://engineeringmatters.reby.media/2021/09/30/the-evolution-of-tools-for-thinking/

    From a tweet by Tamás Görbe : plotting Chebyshev polynomials in polar coordinates leads to some interesting pictures.  Screenshot here, link to the worksheet (and some perhaps interesting puzzles) at the end.

     

    ChebyshevRose.mw

    Calling all fans of customizable documents! What am I saying, we’re all fans of customizable documents here. Well, we’re all in luck, then, because with our latest updates to Maple Learn you can tailor even more details of your documents to your exact specifications. Read on to see what’s new!

    As we all know, graphs are not merely a method of communicating mathematical concepts, but are of course an art form that can be used to display both mathematical and aesthetic beauty. But sometimes, you may find a little something getting in the way of that beauty… those darn gridlines. Even the most elegant of graphs can be tarnished by this faint, criss-crossing lines. But have no fear! With our latest updates, you can fix this problem with the click of a button. Simply select “Plot Settings” from the graph controls to the right of the plot window, and set Axes to “None”. Finally, your graph is pristine. What’s more, that’s not the only new feature we’ve added to the Plot Settings menu. You can also set the axes to “Boxed”, allowing you to see the gridline labels no matter how from the origin you are on the graph. You can also manually set the boundaries of your axes! No more scrolling and zooming to get the perspective just right.

    As if that wasn’t enough, we’ve also added another exciting feature that will help make your graphs look exactly as you want them. By clicking the small graph icon to the left of your expression, you can customize the colour of your plot! You can choose from a wide variety of pre-set colours, or you can use our colour selector to get the exact shade you want. Any custom colours will be temporarily added to the bottom of the colour palette, so you can be sure that your graphs are consistent. At last, you can rest assured that your Maple Learn graphs won’t clash with your outfit.

    What’s more, if you’re a fan of graph customizability, then this is the set of updates for you. We’ve added two more features that will help make your graphs both pretty and easy to understand. Tired of trying to draw shapes, only to have each side be a different colour? Well, no more! We’ve adjusted the Segment command to accept as many coordinates as you’d like, allowing you to create polygons (or just funky zigzags) to your heart’s content! As well, we’ve introduced a new command: the Label command. Now you can add text right onto the plot window and label your graph as you see fit. Or maybe you could use the Maple Learn plot window to start drafting a best-selling novel. The possibilities are endless!

    We also wanted to take a moment to highlight our Example Gallery. We’ve made some changes to make it easier to find the examples you’re looking for. And with over 400 documents and counting, we’re sure to have what you want! But, on the off-chance we don’t, let us know! We’d love to hear about what you’d like to see. And as always, that goes for both the Example Gallery and for any features you’d like in Maple Learn itself! We appreciate your feedback.

     

    As a student I came across an amazing lab experimentA T-type structure with two masses attached to it showed a sudden change in oscillation mode.  

     

    With MapleSim I was able to reproduce the experiment.

    At the time I was told that this perplexing phenome happens because there are always imperfections. 

     

    Today we would probably say that the symmetry has to be broken. The attached example has two parameter sets that a) break symmetry of boundary conditions and b) by structural asymmetry (i.e imperfection). Asymmetry in the initial conditions should also be possible (but I could make work with flexible beams). 

    Compared to coupled oscillators that exchange energy via a coupling spring, this example exchanges energy via masses. In fact in its simplest implementation only one mass and two elastic structures are required for this type of mode coupling. MapleSim multibody library offers plenty of possibilities to demonstrate thisFlexible beams are not required. However, flexible beams show mode coupling beautifully and allow a simple reproduction in real life. For that the worksheet contains a parameter set to build a real model with steel wires. Tuning by adjusting the length of the vertical post is required since nonlinearities already shift frequencies in the model. 

     

    I would be interested in other cool examples of mode coupling. I am also interested in solutions for flexible beams that impose asymmetry in the initial conditions. To keep it realistic at the start, the T should be bend as one would bend it with a fingertip in x direction. It would be even more realistic if the arms are flexed by gravity with zero velocity at the start of the simulation. How can this be done? 

     

    Flexible_beam_mode_coupling.msim

    Dear all,

    Reversion of series---computing a series for the functional inverse of a function---has been in Maple since forever, but many people are not aware of how easy it is.  Here's an example, where we are looking for "self-reverting" series---which I called "ambiverts".  Anyway have fun.

     

    https://maple.cloud/app/5974582695821312/Series+Reversion%3A+Looking+for+ambiverts

    PS There looks to be some "code rot" in the branch point series for Lambert W in Maple, which we encounter in that worksheet.  Or, I may simply have not coded it very well in the first place (yeah, that was mine, once upon a time).  Checking now.  But there is a workaround (albeit an ugly one) shown in that worksheet.

     

    Dear all,

    Recently I discovered the noncommuting variables in the Physics package due to Edgardo Cheb-Terrab; doubtless there are many posts here on Maple Primes describing them.  Here is one more, which shows how to use this package to prove the Schur complement formula.

    https://maple.cloud/app/6080387763929088/Schur+Complement+Proof+in+Maple

    I guess I have a newbie's question: how well-integrated are Maple Primes and the Maple Cloud?  Anyway that seemed the easiest way to share this.

    -r

    Dear all;

    Some of you will have heard of the new open access (and free of page charges) journal Maple Transactions https://mapletransactions.org which is intended to publish expositions on topics of interest to the Maple community. What you might not have noticed is that it is possible to publish your papers as Maple documents or as Maple workbooks.  The actual publication is on Maple Cloud, so that even people who don't have Maple can read the papers.

    Two examples: one by Jürgen Gerhard, https://mapletransactions.org/index.php/maple/article/view/14038 on Fibonacci numbers

    and one by me, https://mapletransactions.org/index.php/maple/article/view/14039 on Bohemian Matrices (my profile picture here is a Bohemian matrix eigenvalue image).

    I invite you to read those papers (and the others in the journal) and to think about contributing.  You can also contribute a video, if you'd rather.

    I look forward to seeing your submissions.

    Rob Corless, Editor-in-Chief, Maple Transactions

     

    Dear all,

    Recently we learned that the idea of "anti-secularity" in perturbation methods was known to Mathieu already by 1868, predating Lindstedt by several years.  The Maple worksheet linked below recapitulates Mathieu's computations:

    https://github.com/rcorless/MathieuPerturbationMethod

    Nic Fillion and I wrote a more general introduction to perturbation methods using Maple and you can find that paper at 

    https://arxiv.org/abs/1609.01321

    and the supporting Maple code in a workbook at 

    https://github.com/rcorless/Perturbation-Methods-in-Maple

    For instance, one of the problems solved is the lengthening pendulum and when we do so taking proper account of anti-secularity (we use renormalization for that one, I seem to remember) we get an error curve that is bounded over time.

     

     

    Hope that some of you find this useful.

    Welcome to Maplesoft Orientation Week!  We know what a difference math software can make when it comes to enhancing student learning, but we also know that everyone is very busy at the beginning of the school year! So our goal for this week is to make it easier for high school and university students to select the best math tool for their needs, and help them get on track for a great math year.  The week’s activities include free training on Maple and Maple Learn, discounts on Student Maple, live events with some of your favorite math TikTok personalities, and even the chance to win an iPad Air!  Check out all the activities now, and plan your week or tell your students.

    Orientation week runs Mon. Sept. 20 – Fri. Sept. 24.

    As most Maple Primes readers have hopefully seen, Maplesoft is having our Maple Conference again this fall. This year we decided to add a space to the conference to showcase creative and artistic work that would be interesting to our Maple Community. The conference organizers asked me if I would coordinate and curate this exhibition of creative uses of Math and Maple, and I agreed. So now, I am asking the Maple community to send us your most creative work related to or using Maple.

    The obvious thing to submit would be a beautiful digital plot or animation with an interesting mathematical story and of course, we are really interested to see those. But, we would are especially excited to see some art created with physcial media. I would love to see your knitting or needle point project that is inspired by a mathematical theme or was created with the help of Maple.

    The full announcement can be found at the Maple Conference Art Gallery page. We would like to have all submissions by October 12th so that can review and finalize the gallery before the conference begins November 1st.

    Oh yeah, there will also be prizes.

    I can't wait to see what everyone sends in!

    Hi everyone! It's been a remarkably long time since I posted on MaplePrimes -- I should probably briefly reintroduce myself to the community here. My name is Erik Postma. I manage the mathematical software group at Maplesoft: the team that writes most of the Maple-language code in the Maple product, also known as the math library. You can find a longer introduction at this link.

    One of my tasks at Maplesoft is the following. When a request for tech support comes in, our tech support team can usually answer the request by themselves. But no single person can know everything, and when specialized knowledge of Maple's mathematical library is needed, they ask my team for help. I screen such requests, answer what I can by myself, and send the even more specialized requests to the experts responsible for the appropriate part of the library.

    Yesterday I received a request from a user asking how to unwrap angles occurring in an expression. This is the general idea of taking the fact that sin(phi) = 'sin'(phi + 2*Pi), and similarly for the other trig functions; and using it to modify an expression of the form sin(phi) to make it look "nicer" by adding or subtracting a multiple of 2*Pi to the angle. For a constant, real value of phi you would simply make the result be as close to 0 as possible; this is discussed in e.g. this MaplePrimes question, but the expressions that this user was interested in had arguments for the trig functions that involved variables, too.

    In such cases, the easiest solution is usually to write a small piece of custom code that the user can use. You might think that we should just add all these bits and pieces to the Maple product, so that everyone can use them -- but there are several reasons why that's not usually a good idea:

    • Such code is often too specialized for general use.
    • Sometimes it is reliable enough to use if we can communicate a particular caveat to the user -- "this will not work if condition XYZ occurs" -- but if it's part of the Maple library, an unsuspecting user might try it under condition XYZ and maybe get a wrong answer.
    • This type of code code generally doesn't undergo the careful interface design, the testing process, and the documentation effort that we apply to the code that we ship as part of the product; to bring it up to the standards required for shipping it as part of Maple might increase the time spent from, say, 15 minutes, to several days.

    That said, I thought this case was interesting enough to post on MaplePrimes, so that the community can take a look - maybe there is something here that can help you with your own code.

    So here is the concrete question from the user. They have expressions coming from an inverse Laplace transform, such as:

    with(inttrans):
    F := -0.3000*(-1 + exp(-s))*s/(0.0500*s^2 + 0.1*s + 125);
    f := invlaplace(F, s, t)*u(t);
    # result: (.1680672269e-1*exp(1.-1.*t)*Heaviside(t-1.)*(7.141428429*sin(49.98999900*t-
    #         49.98999900)-357.*cos(49.98999900*t-49.98999900))+.1680672269e-1*(-7.141428429*sin
    #         (49.98999900*t)+357.*cos(49.98999900*t))*exp(-1.*t))*u(t)
    

    I interpreted their request for unwrapping these angles as replacing the expressions of the form sin(c1 * t + c0) with versions where the constant term was unwrapped. Thinking a bit about how to be safe if unexpected expressions show up, I came up with the following solution:

    unwrap_trig_functions := module()
    local ModuleApply := proc(expr :: algebraic, $)
      return evalindets(expr, ':-trig', process_trig);
    end proc;
    
    local process_trig := proc(expr :: trig, $)
      local terms := convert(op(expr), ':-list', ':-`+`');
      local const, nonconst;
      const, nonconst := selectremove(type, terms, ':-complexcons');
      const := add(const);
      local result := add(nonconst) + (
        if is(const = 0) then
          0;
        else
          const := evalf(const);
          if type(const, ':-float') then
            frem(const, 2.*Pi);
          else
            frem(Re(const), 2.*Pi) + I*Im(const);
          end if;
        end if);
      return op(0, expr)(result);
    end proc;
    end module;
    
    # To use this, with f defined as above:
    f2 := unwrap_trig_functions(f);
    # result: (.1680672269e-1*exp(1.-1.*t)*Heaviside(t-1.)*(7.141428429*sin(49.98999900*t+
    #         .27548346)-357.*cos(49.98999900*t+.27548346))+.1680672269e-1*(-7.141428429*sin(
    #         49.98999900*t)+357.*cos(49.98999900*t))*exp(-1.*t))*u(t)
    

    Exercise for the reader, in case you expect to encounter very large constant terms: replace the calls to frem above with the code that Alec Mihailovs wrote in the question linked above!

    First 25 26 27 28 29 30 31 Last Page 27 of 306