How do I view the source code of, say,
I'm using a Maplet where a student will enter an expression into a MathMLEditor.
I then want to compare this expression to one that the computer has already generated, to see if they can identify the inside function in a composite function, for instance.
Once they enter their expression into the Editor, I use a Get command to extract it, and MathML[Import] to turn it into Maple expression to compare it with the computer-generated one. This works fine with functions like 1/x^9 (which you can type in easily into the editor), but really causes problems with ln(x) or sin(x). If you type in "sin(x)" into the Editor, MathML[Import] will interpret that as
sin*x (the variable "sin" times the variable "x", I guess)
sin(x) (the sine of x)
This can be worked around by using the palettes, but what about ln(x) or exp(x)? I cannot find a way to have the MathML[Import] function take ln(x) to mean the log of x and not "ln * x" (whatever that means).
Any assistance would be appreciated.