Nicole Sharp

Miss Nicole Sharp

160 Reputation

7 Badges

2 years, 180 days
Frostburg State University (FSU)
Kappa Mu Epsilon Alumna
Cumberland, Maryland, United States

Social Networks and Content at Maplesoft.com

Nicole Sharp of Frostburg State University, Maryland, United States of America (USA). https://www.nicolesharp.net/

MaplePrimes Activity


These are replies submitted by Nicole Sharp

@dharr, thanks!!  Memorizing keyboard shortcuts is a pain, but I found the "insert a Maple prompt after the current execution group" button as you described.

However, it renumbers all of the previous inputs when you add a new input out of sequence.  Isn't this a problem if you need to refer to a previous input/output?  I'm new, so not sure yet how to do that on Maple.  On Maxima, I use %o2 to refer to the second output, which remains constant even if I add new inputs before it.  Does Maple have an option to keep the original numbers for each input/output when new inputs are added out of sequence?

@C_R, yeah I realized that it's not recognizing them as individual characters, so it represents all characters (at least from 𐀀 and up) as "3" since that was the most recent saved variable.  I was hoping maybe it was a bad display setting, but otherwise this seems to definitely be a bug in the software since it cannot distinguish between different Unicode characters, in addition to not being able to display the Unicode characters.  I hope Maplesoft fixes it.  Being able to represent functions, variables, and constants using different scripts is both culturally and mathematically important.  Some of the oldest math problems in human history are written in cuneiform.  Plus it might be interesting to solve emoji math problems such as 3*🐭 + 🐱 = 🙈.

This seems to be helpful, but I can't figure out how to adapt the answer given from base 12 to an arbitrary base:

https://www.mapleprimes.com/questions/37312-Can-I-Convert-Irrational-Numbers-From-Decimal-To-Dozenal-/

A so-so fix to make functions work in both Maxima and Maple would be to suffix "_" to all custom functions, e.g. "f_(x,y) := x+y;".  That can make it possible for an automated converter to find "_(" and replace with " := (" after replacing ") :=" with ") ->".

@dharr, thanks for the explanation.  I tried looking for a common way of defining functions in both Maxima and Maple and haven't found one yet.  To convert "f(x,y) := " to "f := (x,y) -> " will require first replacing ":=" with "->" (an easy step) and then secondly replacing the first instance of "(" on each new line for a list of function definitions with " := (" (a more challenging step to identify the first instance of a character on each new line).  Not sure if Maple has a built-in capability for this type of text editing and I'm not sure how to do it in an external text editor.

"alias" is also supported on Maxima.  So you can also make your Maxima worksheets look like Maple worksheets by replacing "float" with "evalf" and "%pi" with "Pi".  The main problem then is the function definitions and replacing commas with periods for definite integrals.

I found something digging through the Maple 2023 user manual.  Check this out:

alias(float=evalf) :
alias(%e=exp(1)) :
float(%e);

Et voilà, Maple now runs like Maxima!

I don't think that will help with function or calculus notation, but it should make some things easier for Maxima users.

@dharr, I am completely new to Maple, so not exactly sure how to use the MW file.  I didn't realize that "integrate" also works in Maple, so thanks for that (I corrected my original example to use "integrate" instead of "int").  A lot of the differences can be fixed with a simple Find and Replace in any text editor (but this is still tedious), but that still won't work for function definitions, integrals, limits, etc.

The MW file appears to give an error for the custom function due to Maple's unnecessarily wordy and confusing syntax of:

f := (x,y) -> x+y;

instead of the simpler Maxima syntax of:

f(x,y) := x+y;

Is there any particular reason why ":=" is needed in addition to "->" for defining a function in Maple?

I found a Mathematica to Maxima translator on GitHub:

https://www.github.com/jlapeyre/mixima/

Since Maple can translate from Maple to Mathematica, that would in theory allow a second translation from Mathematica to Maxima.

However, it doesn't look like it can translate from Maxima to Mathematica to get the Maxima commands into Maple, but the open-source code from GitHub might be able to be adapted to convert from Maxima to Maple.

1 2 3 4 5 Page 5 of 5