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
  • I ask a lot of question on MaplePrimes.

    I can get  a list of all my question. 

    I like to search in this list to people on the forum who has answered my questions

    Is this possible to add this functionality in MaplePrimes?

    Jan

    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.

    December and Maple 2021.2 have both arrived, which means that we can look forward to year 2022 and Maple 2022.

            What should we like to find new in Maple 2022?  Here follow a few suggestions, to which readers of Maple Primes can add.

            In my opinion the weakest feature of Maple 2021 is the solution of integral equations.  Even when this package was first introduced into Maple, a couple of decades ago, it was weak, applicable to only linear such equations.  A quarter century earlier, David Stoutemyer (a true genius and entrepreneur, originator of Mu-Math, Mu-Lisp, Derive and computer-algebra capabilities incorporated in calculators of Texas Instruments) had published code for non-linear integral equations, based on Reduce.  There is a Handbook of Integral Equations by Polyanin and Manzhirov that lists about 2000 solutions of integral equations.  Let Maple 2022 be the basis of a boast by Maplesoft for Maple to be able to solve 96 per cent of those equations, in the same way that Edgardo Cheb-Terrab can (rightfully) boast that Maple can solve 96 per cent of differential equations in a standard compilation.  Any differential equation can, apparently, be converted to an integral equation, whereas the converse is not true.  For this reason alone, the development of solution of integral equations should become a priority to assist users of Maple.

            Another area worthy of expansion and enhancement is the solution of differential equations in terms of Heun functions; that capability is already present, but working with those functions in their present form is difficult and slow.  The inclusion of related functions, such as Lame functions, into Maple is long overdue.  Although efforts have been devoted to the development of the physics package in recent years, culminating in a tremendous achievement of capability, only a few physicists in the world can appreciate that luxury, whereas the solution of differential, and integral, equations permeates all science and engineering. 

              What items are on your list of wishes for Maple 2022?

    We’ve been busy! We have just released the 2021.2 updates for Maple, Maple Flow, and MapleSim. Here’s a quick overview. These updates are freely available to all customers who have the 2021 version of these products.

    Maple

    The Maple update includes a variety of corrections and improvements to the math engine and interface. It is available through Tools>Check for Updates in Maple, and is also available from the Maple 2021 download page, where you can also find more details.

    In particular, this update includes fixes to the bug in the combine command when working with double summations, and the problems when performing context menu operations on values with units while in Document mode, both of which were reported on MaplePrimes. As always, we appreciate the feedback!

    Maple Flow

    The Maple Flow 2021.2 update offers a richer range of formatting features for creating professional-looking engineering documents, which have been requested by customers. Highlights include sections, controlling the display of commands, annotating images, and disabling automatic evaluation while making a series of changes.  This update is available from the Maple Flow 2021.2 download page, which also contains more details.

    MapleSim

    Lots of good stuff here that makes it easier to build and analyze models, including productivity features that speed up the creation of models that use hydraulics, support for the latest CAD file formats in the MapleSim CAD toolbox, the ability to model drift conditions with the MapleSim Tire Library, tools for simulating 3-D winding effects with the MapleSim Ropes and Pulleys Library, and a new MapleSim Web Handling Library add-on (which, I am sad to say, has nothing to do with Spiderman). See What’s New in MapleSim for details, and the MapleSim 2021.2 download page for instruction on how to obtain your update.

    Some years ago I taught a calculus course for especially talented students. I made up the following problem as an interesting challenge.

    Take a circular disk made of paper. Cut out a sector of some angle α from the disk. Roll each of the resulting two pieces into cones. Let V(α) be the sum of the volumes of the two cones. Find the α that maximizes V(α).

    Here is an animated statement of the problem, produced in Maple.

     

    The most frequent question I get asked when presenting Maple Learn is: “How is Maple Learn different from Desmos?”  The second most frequent question is: “How is Maple Learn different from GeoGebra?”. And they are great questions! Why invest time in learning and introducing students to something new if it works and behaves exactly like something you already use? I certainly wouldn’t bother, and I can’t imagine that anyone else would either. So, in this post, I will do my best to articulate the differences as succinctly as possible, and we’ll be happy to arrange a demo for anyone who is interested in learning more.  Are you ready for another top 3 list!?

    Disclaimer: Before we dive in, I’d like to start by saying that Desmos and GeoGebra are great tools. This post is not intended to disparage them. Rather my goal is to highlight the things that make Maple Learn unique.

    So without further ado:

    1. Maple Learn is the equivalent to doing math on paper, just better!

    Maple Learn is akin to a digital math notebook. The canvas gives students the same feeling as solving a math problem on paper – the ability to work through a problem line by line, with explanations, notes, and additional calculations wherever they want them on the page – only with extras. Students can also use Maple Learn to perform tedious intermediate steps, see a graph to get a better sense of the problem, vary parameters to explore the effect on graphs and results, do a quick side calculation to double-check an individual step, and verify the final result.

    2. Maple Learn takes a more holistic approach to learning

    Where other tools focus predominately on visualization and getting the final answer, the Maple Learn environment supports much more of the teaching and learning experience.  Students can articulate their thought processes and mathematical reasoning using a combination of text, math, plots and images that can be placed anywhere on the canvas. Teachers can devise lessons in Maple Learn that focus not just on solving problems, but on developing skills in mathematical thinking, communication, and all the competencies and standards outlined in the curriculum. For example, instead of having your students work through the minutia of solving for x from two equations, you can create a document that focuses on having them set up the problem correctly, and then let them use the content panel to get the solution. Or you can use interactive supports, such as Algebra Tiles, to allow them to explain the concept of Completing the Square. Or give them an equation, and ask them to jot down features of the equation. The questions you can pose and the discussion that arises as a result is what sets Maple Learn apart from the rest. Because ultimately, the study of mathematics and science is about understanding, not the final answer.

    3. Maple Learn is about math not commands

    Maple Learn is an environment for learning math and math-based subjects, not about learning commands. So how do you perform an operation in Maple Learn? Easy! Maple Learn’s intelligent context-sensitive panel offers students a list of relevant operations to choose from, based on the mathematical equation or expression in question. This feature was first introduced in Maple over two decades ago, and it’s one of the most beloved features of students, teachers, and new Maple users, so of course we included it in Maple Learn. The context panel means that you and your students can focus on learning math not commands.

    And here’s a bonus for making it all the way through:

    4. You can pull math into Maple Learn really easily using the Maple Calculator

    Let’s face it, for now at least, there will always be students who will feel more comfortable doing math on paper. It’s like tomato soup and grilled cheese – some things are meant to go together. So to make the transition from paper to digital easier, students can take a picture of their problem, or even their completed handwritten solution and bring them into Maple Learn instantly. That way, they can have the comfort of paper, AND the advantages of the digital environment. (I’d say something about having their cake and eating it too, but all this talk of food is making me hungry!)

    One of the things I love most about my job is working and collaborating with math teachers across the globe. Every discussion leads to additional insights into the challenges facing teachers today, and new ideas on how to make Maple and Maple Learn better. And sometimes, I even learn some math I thought I already knew!

    A few months ago, I introduced Maple Learn to a friend of mine who teaches high school math in Kingston, Ontario. I showed her how she could use Maple Learn to teach many concepts during our call, including Completing the Square. I walked her through Maple Learn’s free-form canvas and explained how her students could work through a problem line-by-line just as they would in their notebooks. I highlighted the live plot window and showed how her students could graphically verify that their solution was equivalent to the initial expression. And, I demonstrated the power of Maple Learn’s intelligent context panel and how her students could check their answers algebraically. I thought I had done a good job, until she said: “Karishma, that’s not how we teach Completing the Square anymore!”. Huh! I was floored. What I had shown was the way I had learned the concept so many years ago. I was surprised to learn that there was a new way.

    My friend then introduced me to Algebra Tiles and how she used it to teach Completing the Square. Once we went through a few examples, I realized that I had never fully appreciated what I was doing when I completed the square. I had memorized a series of steps without really understanding what I was trying to do. The progression of our discussion naturally led to the inevitable question: “Karishma, does Maple Learn include Algebra tiles? Because that would be a game-changer for my students. Currently, we use physical tiles, but with remote learning, we need something digital.” At that time, my answer was ‘not yet’; however, with the introduction of image support last week, I’m happy to announce that Maple Learn can support algebra tiles and other interactive supports.

    Here is the Maple Learn document I created on Completing the Square using Algebra Tiles.

    Feel free to change the expressions listed in the document and share it with your students. To see algebra tiles in action inside Maple Learn, take a look at the short video that I created.  If you have any suggestions for improving this application, please feel free to let me know.

     


     

    A simple suggestion...

    I would appreciate being able to open multiple help pages simultaneously instead of just one.
    This seems to me particularly interesting when you have to browse back and forth between several related items.

    In the plotting guide I didn't see a waterfall chart so I created a procedure. 
    If anyone has a more efficent, better or alternate way please feel free to add.


     

    waterfall := proc (data, colorinc := green, colordec := red) local i, r1; r || 1 := plots:-display(plottools:-rectangle([0, 0], [1, data[1]]), color = colorinc); for i from 2 to nops(data) do if data[i-1] < data[i] then r || i := plots:-display(plottools:-rectangle([i-1, data[i-1]], [i, data[i]]), color = colorinc) elif data[i] < data[i-1] then r || i := plots:-display(plottools:-rectangle([i-1, data[i-1]], [i, data[i]]), color = colordec) else r || i := plots:-display(plottools:-rectangle([i-1, data[i-1]], [i, data[i]])) end if end do; plots:-display(seq(r || i, i = 1 .. nops(data))) end proc
    ``

    data := [6, 4, 4, 4, 7, 9, 12, 16, 25, 100, 105, 95, 90, 55, 45, 30]

    [6, 4, 4, 4, 7, 9, 12, 16, 25, 100, 105, 95, 90, 55, 45, 30]

    (1)

    waterfall(data)

     

    waterfall(data, purple, yellow)

     

    ``


     

    Download Waterfall.mw

     

    Yes, that’s right! You can now add images to your Maple Learn documents! Whether you’re adding a diagram to help visualize a physics concept, inserting the logo or your school or organization, or just adding a cute selfie so that everyone knows how great you looked while making this document, you can add any image you’d like using the image icon on the toolbar. You’ll need to be logged in to access this new feature, but luckily making an account is completely free!

    To insert the image, just click the image icon and select the image you want from your computer or tablet. To resize it, highlight the image and click the image icon again. You can also turn the image into a hyperlink by highlight the image and clicking the link button! Now, not only will your document look snazzy, but it can take you anywhere you’d like.

    Images aren’t the only exciting new feature in Maple Learn. If you were excited by all the circles in the last set of updates, then you’re going to love this one, because we’ve introduced the Circle command! Just plug in the centre of the circle and the radius, and bam, circle. What’s more, you can easily turn your circle into an arc by adding the angle measures of the two endpoints of the arc. Infinitely customizable round objects, right at your fingertips. To learn more, check out the How-To documents Using the Circle Command and Plotting Arcs.

    Ancient Greek mathematicians thought that there was nothing that couldn’t be constructed with only a compass and a straightedge. A wise math professor once tasked my class with using these same tools to draw a pretty picture. With Maple Learn’s Circle function and ability to graph straight lines, you have all the tools you need to complete this same task! We look forward to seeing the results.

     

    Universidad Metropolitana de Ciencias de la Educación
    Santiago de Chile

    Derivative operator on vectors of real variable (R3): applied to curvilinear motion with Maple and MapleSim

    In the present work it will be demonstrated how the derivative operator acts in functions of real variable in the movement of a particle that performs a curvilinear trajectory; using the scientific software of the Maplesoft company known by the names Maple and MapleSim, because nowadays most university teachers (higher education) do not visualize the movement of the particle in real time as well as the results of the calculations of speed and acceleration simultaneously. The objectives achieved are to use the vector operator with the help of these programs. As a theoretical tool we will use the three-dimensional vector spaces of real variable with Newton's notation. The methodology we have used was native syntax and embedded components using block diagrams. For the case of particle motion we use the graphical programming proposed by MapleSim. Viable results were achieved for motivational effects and time reduction in complex calculations without neglecting innovation in physical sciences, for teachers in higher education and university students. This work is self-sustaining via Maple Cloud.

    Lenin Araujo Castillo

    Ambassador of Maple

    Guys, this is still the most painful thing i Maple for me, and I hope this gets a high priority for future development.

    It is still not possible to compare variables, when one of them could become zero.

    with(Units[Standard])

    [`*`, `+`, `-`, `/`, `<`, `<=`, `<>`, `=`, Im, Re, `^`, abs, add, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin, arcsinh, arctan, arctanh, argument, ceil, collect, combine, conjugate, cos, cosh, cot, coth, csc, csch, csgn, diff, eval, evalc, evalr, exp, expand, factor, floor, frac, int, ln, log, log10, log2, max, min, mul, normal, polar, root, round, sec, sech, seq, shake, signum, simplify, sin, sinh, sqrt, surd, tan, tanh, trunc, type, verify]

    (1)

    a := 15*Unit('kN')

    15*Units:-Unit(kN)

    (2)

    b := 0*Unit('kN')

    0

    (3)

    NULL``

    if a < b then "True" else "False" end if

    Error, cannot determine if this expression is true or false: 15*Units:-Unit(kN) < 0

     

    NULL

    Download CompareUnits.mw

    First 23 24 25 26 27 28 29 Last Page 25 of 305