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
  • Has this ever happened to you? You’re using Maple Learn, and having a grand old time, but suddenly! The horror! You notice a bug! Of course, it’s a shocking experience to realize that our products are not, in fact, flawless, but unfortunately it’s true. There are bugs. But, what’s this? There’s a glimmer of hope on the horizon… the Flag a Problem button! By using the Flag a Problem button, you can let us know about the problem you found, and with the power of our mighty development team, we’ll fix it! Yes, with our forces combined… we can defeat all of these bugs!

    A picture of the Flag a Problem button with glowing rays surrounding it.

    In all seriousness, we really do appreciate your feedback. Whether you’ve spotted a bug or are looking for a new feature, let us know! We’re constantly updating and improving Maple Learn, and user feedback is a hugely important part of this process. For example, we had a user suggest that Maple Learn treat Δt as a single entity, as in physics that notation is used to mean a change in time rather than Δ times t. And we’re happy to announce that this is now a feature! Here’s just a taste of some of the other things we’ve changed based on user feedback:

    • Can now use the Context Panel to evaluate operations with matrices
    • Maximum number of intersection points shown has increased to 20
    • Intersection points now shown for parametric equations and circles
    • Using the Context Panel no longer scrolls the page
    • Quick Actions menu no longer parameterizes the f of f(x)
    • Fixed display bug for inverse trig functions

    Evidently, not every piece of feedback we get is a feature request. Sometimes there’s bugs! And we want to hear about those too. In all honesty, I think it’s pretty neat to see the bugs I’ve reported being fixed. It wasn’t too long ago that I noticed a small error with tables—when the header of the table had a subscript, pressing the down arrow jumped to the next group instead of the next row. I reported it, and now it’s fixed! I can’t help but feeling a little smug, like I’m the one who fixed it. Of course, the credit for the actual code goes to our developers. But it is also true that they wouldn’t have fixed it if no one had pointed it out. Truly, teamwork makes the dream work. And if you want to feel smug about the bug you pointed out being fixed, or the feature you asked for being added, then head on over to that Flag a Problem button. Let us know what you want to see and we’ll listen. What’s more, we’ll be making more posts every now and then to let you know about what’s new with Maple Learn and what we’ve changed based on your feedback. That way you have something to print out and frame on your wall as proof of the contribution you’ve made to Maple Learn! (Or I suppose you could just read it. But where’s the fun in that?)

    Some misguided individuals insist that perpetual motion machines are impossible. Here is a proof that they are wrong!

    One of these units hooked up to an electrical generator should be enough to supply all your household electrical needs as well as charge your Tesla in the garage.

    If you build one and find out that it doesn't work as demonstrated here, then surely you must have misread the specs. Try it again and again until you succeed.

    Download perpetual-motion-machine-corrected.mw

    In the context of analyzing physical systems I often have to plot results in the form of y=f(x,a,b,c,…). Here the plot variables x and y are physical quantities and the system parameters a,b,c… can have units as well.

    After substitution of parameters the expression f(x,a,b,c,…) can be plotted using plot(f(x,a,b,c,…),x_range). Unit choice and labeling of the abscissa work already well when x_range is given in the format x=x0..x1 (where x0 and x1 have a value and a unit). This is already a huge improvement since labeling and unit conversion errors on the abscissa are almost impossible.

    Also, the units on the ordinate are correctly displayed. However, if the depended variable y is desired to be displayed on the ordinate it must be added by hand using the label option. In doing so the display units and labels of both axes must be re-entered by hand. This re-entering step is a source of labeling and conversion errors.

    To improve ordinate labeling and to reduce conversion errors I would love to see two improvements:

    • A plot option that would allow unit conversion of plot axes. I.e. telling Maple in which units a physical quantity has to be displayed and forcing a rescaling of the values of the physical quantities.
    • With less priority and additional to expressions, the plot command should also accept equations in the form of y=f(x) as input. This would lead to a very compact syntax that produces content rich and, more importantly, correct plots of physical quantities. Wrong labeling and conversion errors would be very unlikely.

    Overall, I am very pleased by Maples unit functionality. I have been reluctant to switch from my old work style of using names as unit placeholder and self-made conversion sets. But now I feel that the likelihood of producing unit conversion errors with my old work style has become higher than using Maples units.

    I can only encourage interested users to give units a try. Its good!  For me it has turned out to be time worth invested.

    I also hope that Maplesoft continues their efforts of providing more unit functionalities. It’s a big task but calculations with physical quantities are also a big differentiator.  

    Over the last few months, we’ve had the honour of working with some fantastic online content creators who share our goals of helping make math accessible to students. We wanted to take a moment to highlight some of the great things they’ve done and how they’ve been able to use Maple Learn and the Maple Calculator to help explain math concepts to their audiences. Whether you’re looking to learn or searching for ways to make math engaging to others, these content creators are worth checking out!

    Much as some may complain about “attention spans these days”, there is definitely merit in being able to clearly explain high school level math in under a minute. If you’re looking for tips and tricks to help you understand math concepts, look no further than Justice the Tutor, whose TikTok is full of easy-to-understand videos explaining how to solve a wide variety of problems. You can check out his video on solving systems of equations here.

    I think it’s fair to assume that most people reading this like math, but all of us are multi-faceted individuals—so who’s also into drag? Online Kyne is, and she explains tons of math concepts in a fun, engaging, and sparkly way. Check out her video on 3D plots (and her matching 3D-glasses-themed eye makeup) here!

    If you’re looking for more ways to have fun with math, check out Tom Rocks Math, run by the University of Oxford’s Dr Tom Crawford. He rose to fame with his “Naked Mathematician” series, but even his clothed videos explain difficult math topics in ways that are clear and accessible. You can see how he tackles a complex topic like partial differentiation here.

    Whether you’re looking for a refresher or to learn something new, Dr Trefor Bazett’s YouTube channel has everything from cool math facts to complete courses on calculus, linear algebra, and more. If you don’t mind feeling called out for that one dumb mistake you made on a test once, this video on common algebra mistakes is a great resource for both students and teachers. What’s more, we’re excited to announce that Dr Trefor Bazett will be hosting a Maplesoft webinar where he’ll be discussing how to design effective interactive learning activities! The webinar will be on June 15, and you can sign up here. This promises to be a fascinating talk and a great way to get tips from someone whose online presence exemplifies his skill at getting people to engage with math, so we hope you’ll check it out.

    These content creators are just the tip of the iceberg. We’ve also been working with Bobby Seagull, a math teacher and author, and TikTok personalities nerdynas and tamerxi, whose student-centric content is both fun and useful. For our Japanese audiences, you can also check out Kantaro Suzuki’s videos on solving a variety of math problems, and Takumi’s video where he brought in other YouTubers to compete in a puzzle challenge using the Maple Calculator!

    We’re so thrilled to see how these amazing content creators are using Maple Learn and the Maple Calculator to create new content and engage with their audiences. It’s very exciting for us to be working with so many people who share our goals of making math accessible and interesting, and we love seeing what they’ve done with our products. Whether you’re a student looking to further understand your courses, a teacher looking to find more ways to engage with your students, or just someone who wants to learn more about math, these videos are all a fantastic resource. It’s clear that all these content creators have a passion for math, and as people who share that passion, we’re so happy to be working with them to help others find their own interest in math.

    Hi again all

    You can enjoy this simple Maple code to find the proper divisors of a given positive integer (whole number).

     

    Download proper_divisor.mw

    here  some_proper_divisor_examples_3.pdf   file

    Hope this helps

    Matt Anderson

     

    ... and two suggestions to the development team

    POINT 1
    In ?DiscreteValueMap (package Statistics) it's given an example concerning rhe Geometric distribution along with this comment:
    "The Geometric distribution is discrete but it necessarily assumes integer values, so (bold font is mine) it also does not have a DiscreteValueMap"

    This sentence seems to indicate that "because a distribution is discrete over the set of integers, it cannot have a DiscreteValueMap", some sort of logical implication...

    But my feeling is that the Geometric distribution (or any other discrete distribution) does not have a DiscreteValueMap because this attribute has just not been specified when defining the distribution.

    restart:
    with(Statistics):
    
    GeomRV := RandomVariable(Geometric(1/2)):
    f := unapply(ProbabilityFunction(GeomRV, n), n):
    
    AnotherGeomRV := Distribution(
          'ProbabilityFunction'=f,
          'Support'=0..infinity,
          'DiscreteValueMap'=(n->n),
          'Type'=discrete
    ):
    DiscreteValueMap(AnotherGeomRV , n);
    

    Thus having the set of natural numbers as support doesn't imply that DiscreteValueMap cannot exist.

    Suggestion 1: modify the ?DiscreteValueMap help page so that it no longer suggests that some discrete distributions cannot have a .DiscreteValueMap 

    ______________________________________________________________________________________

    POINT 2
    I think there exists a true problem with the definition of discrete distributions in Maple: the ProbabilityFunction of a (discrete) random variable) takes non zero values outside their definition set.
    For instance

    ProbabilityFunction(GeomRV, Pi);  # something non null


    To ivercome this problem I defined a new Geometric distribution this way (not entirely satisfying):

    restart:
    with(Statistics):
    
    GeomRV := RandomVariable(Geometric(1/2)):
    f := unapply(ProbabilityFunction(GeomRV, n), n):
    g := n -> (1-ceil(n-floor(n)))*f(n)    # (1-ceil(n-floor(n))) = 1 if n in Z, 0 otherwise
    
    AnotherGeomRV := Distribution(
          'ProbabilityFunction'=g,
          'Support'=0..infinity,
          'DiscreteValueMap'=(n->n),  # is wanted
          'Type'=discrete
    ):
    ProbabilityFunction(AnotherGeomRV, 2);
                     1/8
    ProbabilityFunction(AnotherGeomRV, Pi);
                      0
    

    PS: None of the statistics based upon the  ProbabilityFunction (Mean, Variance, ... ) is correctly computed with the previous construction. This could be easily overcome by completing this definition, just as its done in Maple, for all the requires statistics, for instance 

    AnotherGeomRV := Distribution(
          ....
          'Mean'=1   # or more generally (1-p)/p form Geometric(p)
    ):


    Suggestion 2: modify the way discrete distributions are defined in Maple in order to avoid ProbabilityFunction to return wrong values.

    We’ve been working hard on Maple Learn since its release, and we wanted to share some of the many updates we’ve made. If there was a feature you were looking for that we didn’t have, it might be time to check again! Here’s just a taste of some of the things we’ve been working on.

    Given its name, perhaps it’s not surprising that our focus with Maple Learn is to help students learn math. That’s why we’ve improved many of Maple Learn’s math capabilities, to give students the best experience we can. We’ve added support for piecewise functions and vector norms/magnitudes, and made many improvements to tables based on user feedback. Are you more of a statistician? Well, you’re in luck, because we’ve also added various statistics options to the Context Panel, which allow you to calculate mean, median, linear regression, and more. We’ve also made a handful of improvements to evaluation and assignment that we hope will make Maple Learn more intuitive for users.

    Maple Learn isn’t just about math, though—it’s about making math accessible. That means communicating clearly, so luckily, we’ve added several new text editing features to help you do just that. You can now use bold, italics, underline, hyperlinks, and changeable font sizes and colours. You can even collapse the plot window and Context Panel if you need a larger workspace or if your problem doesn’t require them. Now your documents will be both easy to follow and stylish!

    Speaking of stylish documents, we’ve also made various improvements to how functions can be visualized. There are a couple I’d like to point out to you: You can plot points by adding values to a table! What’s more, you can then move these points around the plot and your table will update automatically. You can also add points and other geometric plot primitives like line segments and vectors using the commands Point, Segment, and Vector. As well, if you have multiple functions plotted, you can see the intersection points by clicking the “Show special points” button. If points aren’t your style, we’ve also added support for some more types of plots, such as parametric plots. When working with differential equations, you can also plot the vector field for that equation. To learn how to use these features and more, check out the “How To” section at the bottom of our Example Gallery. We’re working on more help documentation everyday to help you use Maple Learn to its full potential.

    Finally, we’ve made a handful of miscellaneous changes that should help improve your overall experience with Maple Learn. For example, users can now save a copy of their document. We’ve also translated many of our examples to different languages, and are working on translating more everyday. We hope that all these changes and updates will help you get the most out of Maple Learn. If there are features you’d like to see, don’t hesitate to let us know. We add improvements to Maple Learn regularly, so keep an eye out for future updates on Primes!

    We have just released an update to Maple, Maple 2021.1.

    Maple 2021.1 includes improvements to plotting, export to PDF and LaTeX, the user interface, the mathematics engine, and more. We strongly recommend that all Maple 2021 users install these updates.

    This update is available through Tools>Check for Updates in Maple, and is also available from our website on the Maple 2021.1 download page, where you can also find more details.

    In particular, please note that this update includes fixes to the sometimes missing plotting toolbar, the misplaced plot annotations on export, and a workbook saving problem, all reported on MaplePrimes.

    Thanks for the feedback!

     

    We’re excited to announce the release of MapleSim 2021! The MapleSim 2021 family of products lets you build and explore models more easily than ever, with improved simulation performance and 3-D visualizations, new ways to share models with those who don’t use MapleSim, and a host of new and expanded component libraries. Improvements include:

    • Improved performance for large models that allows you to take advantage of the fastest simulations yet – no matter how complex your design is.
    • More realistic 3-D visualizations with the ability to define dynamic shape sizes, such as spheres and cylinders that expand or contract over the course of the simulation, so components are realistically represented throughout.
    • Expanded modeling scope for machine builders, with a new pneumatics component library and expanded hydraulics support, as well as improved visualizations in the MapleSim Ropes and Pulleys Library add-on.
    • New simulation and analysis features in MapleSim Insight, a standalone product in the MapleSim family that provides anyone in your organization with access to powerful simulation-based debugging and 3-D visualization capabilities that connect directly to common automation platforms.

    See What’s New in MapleSim 2021 for more information about these and other improvements!
     

    The deadline to submit a presentation proposal for the Maple Conference 2021, to be held Nov. 2-5, 2021, has been extended to June 13, 2021.

    We invite submissions of proposals for presentations on a range of topics related to Maple, including Maple in education, algorithms and software, and applications. All presenters will be given the option of submitting a full paper, which will undergo peer review, and if accepted, be included in the conference proceedings.

    More about the themes of the conference, how to submit a presentation proposal, and the program committee can be found here: Call for Presentations.

    We hope to see you at Maple Conference 2021!

    HI Maple Primes people and other interested parties,

    I was a teacher for more that ten years.  Most of my teaching was at community college level.

    Although I am not a biological father, my extended family is important to me.

    I graduated from university two times with special diplomas.  The next two years (99 to 01) were hectic for me.  After that I went to see about females, and now I am in the happily married club.

    I'm glad I kept my Maple 13 student version software because like my father, I like to make computer code.

    0_2_20_tuple_to_share.pdf

    Mathematical truth will outlast the stars in the sky.  but government and good behavior will always kick the ass of any expression.

    Consider this 

     

    Regards

     

    Matt

     

    When we first launched Maple Learn in January, there were only a handful of examples in the Example Gallery. Today, due to customer requests, we have 57 examples and the number grows every week. You can check out the gallery here: https://www.maplesoft.com/products/learn/examples/

    The gallery is full of both practical and fun examples showing how you can use Maple Learn to work with all kinds of math. One great example is this worksheet on Logarithmic and Archimedean spirals made by our Sales Account Manager, @Oliver K. You can learn a bit about each type of spiral and adjust the sliders to see how the different parameters change the visualization. It’s a great tool for introducing students (or anyone who likes cool graphs!) to these types of spirals and for helping them understand the math behind them.

    We’ve got a whole team of people, led by Senior Architect @pchin, who are working every day to make more examples like these. If there’s something you’d like to see, leave us a comment! We’d love to hear your ideas.

    If you’re feeling inspired by all these examples and want to try your hand at creating something of your own using Maple Learn, check out the “How to Use Maple Learn” section at the end of the example gallery. Here you’ll find a collection of worksheets that will take you through the basic features of Learn, including “Using Sliders”, “Difference Between Equations and Assignments”, and “What Does the Light Bulb Do?”. With all this knowledge at your fingertips, you’ll be all set to create to your heart’s content!

    Equation labels are great!

    I use them extensively to produce textbook style documentation that is understandable for non-Maple users. Even if Maple input is not hidden, documents look much cleaner since auxiliary names and the assignment statement “:=” do not have to be used most of the time.

    Suggestions to improve Maple 2021 equation label functionality (in order of preference):

    • In a text passage or Maple input: Double click on a label reference to open the insert label dialogue (crtl-L) in order to change the reference (instead of deleting the reference and inserting a new reference).
    • Right click on an equation label to hide it with the context menu. Or right click on the output and have a “show/hide label" option.
    • After a document is finished, input is hidden and before printout/export is produced: A function that hides/shows all labels that are not referenced in text passages.
    • A search function for equation labels in a document, or alternatively: a pallet simliar to the variable pallet to manage labels.
    • Labels inside a text passage that refer to executable math with toggled input. This would allow the definition of expressions inside a text passage and use them in subsequent calculations. Example for a text passage: “If we insert for the mass m=15 kg in equation (33), the frequency response looks as follows:" plot(subs(label_of(whatever has been attributed to m=15kg),(33)),plot_range). This would reduce redundant entries in the document and potential mismatch between text and calculation results.
    • Renaming of single labels (i.e. assigning an alias) either by right click on the label or by a pallet.
    • Labels for non-executable math inside a text passage for further use in other text passages or later insertion in executable math.

    Comments:

    • There is another (not documented?) feature that is very handy: Double click on an equation label inserts the equation label at the cursor position. A nice time saver.
    • Only recently I found out that single equation labels can be hidden/removed using Format>Equation Labels>Selection. Since this option was always grayed out, I could not make sense out of it, because the text was not self-explanatory to me.  Instead of Format>Equation Labels>Selection a more self-explaining menu entry would be desirable. “show/hide selection” would already better describe the action behind the menu item. However, it is still not intuitive to select output in order to make equation labels disappear (that are by the way not highlighted in blue by the selection process when only a single output/execution group is selected). There are many reasons that could make a change to self-explaning menu items not that straight forward as it sounds. In this case a mouse-over is always helpful to get more explanations on a button or a menu item. Alternatively and probably better: It would be more straight forward to select or click onto labels to manipulate them. This of course only works for one label at the time, which in my case is the most common use case.
    • Equation labels are unique. They enable a work and documenting style that other math tools do not provide. If used consistently, they provide a new level of abstraction where explanatory text and computation can be combined in way that a mathematical interpreter (human or a smart machine) could proof results using only textbook style documents as input (e.g. pdf scans). At least, this is theoretically possible. However, I have noticed that many examples from users do not make use of equation labels. They are still pretty much done in a traditional programming style where loads of unnecessary variables are used. This is understandable since many people start mathematical problem solving with the aid of computers by programming. So new users to Maple use Maple pretty much the same way they were trained.
    • I am fully aware that there are many applications where equation labels are not the most efficient way of producing a result. But producing a result is different from documenting results or even documenting a mathematical proof.

     

    Some of you know me from my occasional posts on Maple’s typesetting and plotting features, but today, I am here in my new role as co-chair (along with Rob Corless of Western University) of the 2021 Maple Conference. I am pleased to announce that we have just opened the Call for Presentations.

    This year’s conference will be held Nov. 2 – Nov. 5, 2021. It will be a free virtual event again this year, making it an excellent opportunity to share your Maple-related work with others without the expenses and inconveniences of travel.

    Maple Conference 2021 invites submissions of proposals for presentations on a range of topics related to Maple, including Maple in education, algorithms and software, and applications. All presenters will be given the option of submitting a full paper, which will undergo peer review, and if accepted, be included in the conference proceedings.

    Presentation proposals are due June 1, 2021.

    You can find more information about the themes of the conference, how to submit a presentation proposal, and the program committee on Maplesoft Conference Call for Presentations.

    Registration for attending the conference will open in June. Another announcement will be made at that time.

    I sincerely hope that all of you here in the Maple Primes community will consider joining us for this event, whether as a presenter or attendee.

    The https://sites.google.com/view/aladjevbookssoft/home site contains free books in English and Russian along with software created under the guidance of the main author prof. V. Aladjev in such areas as general theory of statistics, theory of cellular automata, programming in Maple and Mathematica systems. Each book is archived, including its cover and book block in pdf format. The software with freeware license is designed for Maple and Mathematica.

    First 8 9 10 11 12 13 14 Last Page 10 of 287