Hello,
I would like to convert Maple solutions to Matlab code. Is there a simple package or Maple code doing that ? I do not want to create a permanent link between Maple and Matlab with a toolbox but simply convert the Maple code to a Matlab code.
Thanks a lot !
Guillaume

I would like some help on how to include mathml formulas from Maple in jsp pages for Maplenet. I use de MathML:-ExportPresentation to obtain the mathml form from Maple, but I cannot see it correctly in a jsp page. It seems mathml works fine when I have a html page. I would like to know if is there anything else I should do so that i can work in jsp too.
Thanks

I have learned in Brownstone site how to create,

using latex, sketch questions for Maple TA.

I could create a question bank, formed by sketch mode questions,

and then uploaded it to Maple TA, but the applets just don't work.

There are no java error messages.

On the java console i get messages like:

--------------------------------------------

false

false

SplinePlot.mousePressed():

Could not add node because of conflicting x-coordinate:

node with matching x-value already present in system

Please select another point.

false

...

------------------------------------------------

I cannot install MapleTA 2.51 with SUSE 10.1. It gives the same errors
as I see in the forum for Maple 10. The suggested fix for installing
Maple 10, commenting out the "export LD..." line, only leads to a new install error.
It says that a ".Z" file is not a gzip file.
Has anyone installed MapleTA 2.51 on SUSE 10.1 successfully?

Global Optimization with Maple
An Introduction with Illustrative Examples
--- An interactive electronic book ---
Written by János D. Pintér
Published and distributed by
Pintér Consulting Services Inc.,
Halifax, NS, Canada
and
Maplesoft, a division of Waterloo Maple Inc.
Waterloo, ON, Canada
© Pintér Consulting Services Inc., 2006
ISBN 1-897310-15-3
Electronic version available by download (from Maplesoft) or by e-mail (from the author).
Single user price: USD 99.00; group and site licenses are also available.
Please contact the author

I wasn't sure of the details of non-Maple-owners accessing Maple content via MaplePrimes. Do they have to be members of MaplePrimes (can non-Maple-owners *be* members of MaplePrimes?) Either way, where can they go to access the content? I understand how to upload and access my own content via the file manager, but I don't understand how it can be made available to and viewed by others. Thanks a lot.

Hi.
I'd like to write a maple TA question involving a sketch.
There are standard tests used to evaluate whether the sketch designed by the student is correct, such as :
\check{linear}
\check{goes_through(0,1)}
etc...
There is a certain tolerance in these tests. If the sketch aproximately goes through point (0,1) in the previous example, it will be considered correct.
My questions are :
What is this tolerance ?
Is it possible to set this tolerance ?
if not,
Is it possible to artificially create a tolerance factor (with something which would look like :
(value(0)-1)

Hi,
is there a way to install the maple toolbox for labview under LV 8?
During installation process i receive an error message that LV 7.1 is necessary.
Thanks for any help,
Tom

In order to generate a 2x2-matrix in the question text I use

$display_matrix =maple("printf(MathML:-ExportPresentation(<<($a),($c)>|<($c),($b)>>))");

where $a, $b, $c are random numbers (see below for full question source).

In MapleTA 2.0.1 the question operates correctly. I quote here an exemplatory call to Maple taken from the console:

jvm 1 | To Maple --> printf(MathML:-ExportPresentation(<<(-4),(6^(1/2))>|<(

6^(1/2)),(-5)>>))

However, instead of depicting the corresponding matrix, MapleTA 2.5 depicts the Maple code. That this will happen can also clearly be seen in the call to Maple:

jvm 1 | To Maple --> printf("%m", 'Matrix(2,2,{(1, 1) = -2, (1, 2) = 2*2^(1

/2), (2, 1) = 2*2^(1/2), (2, 2) = -4},datatype = anything,storage = rectangular,

order = Fortran_order,shape = [])');

How does it come that MapleTA 2.5 decides to add "%m" to printf? Is there a possibility to fix this by making appropriate changes in a setup file?

I would be grateful for any hint.

Peter

---

Full question source (the question asks for the eigenvalues of the shown matrix):

mode=Multi Formula@

name=eigenvalues (more ergonomic)@

editing=useHTML@

algorithm=$case = range(1,3);

$c = maple("[sqrt(6),sqrt(8),2][$case]");

$sign = range(-1,1,2);

$b = range(-5,5);

$a = $b+($sign)*($case);

$display_matrix = maple("printf(MathML:-ExportPresentation(<<($a),($c)>|<($c),($b)>>))");

$ans1=maple("1/2*(($a)+($b)-sqrt(($case)^2+4*($c)^2))");

$ans2=maple("1/2*(($a)+($b)+sqrt(($case)^2+4*($c)^2))");@

question=Bestimmen Sie die Eigenwerte von $display_matrix.

Hello,

I am trying to plot a function via

\drawMaplePlot*{plot($m*(t-$t0),t=0..$tmax,labels=["t in a.u." ,"a in a.u."], labeldirections=[HORIZONTAL,VERTICAL])}

using LaTeX-authoring. This will result in

drawMaplePlot("plot($m*(t-$t0),t=0..$tmax,labels=["t in a.u." ,"a in a.u."], labeldirections=[HORIZONTAL,VERTICAL])",250,250);

in the edu-file. The problem is that the second " is interpreted as the end of the argument to drawMaplePlot.

What is the escape character for "? Escaping by \, i.e. \" does not work.

Of course the maple command

plot(m*(t-t0),t=0..tmax,labels=["t in a.u." ,"a in a.u."], labeldirections=[HORIZONTAL,VERTICAL])

I have encountered two problems with the symbolic editor in Maple T.A. 2.5. Both problems do not occur in Version 2.0.1:

Problem 1: Typesetting x^$n in authoring a question.

This will result in

--

<math xmlns='http://www.w3.org/1998/Math/MathML'><mstyle fontfamily='Times New Roman' mathsize='12' mathcolor='#000000' mathbackground='#ffffff' ><mrow></mrow></mstyle></math><math xmlns='http://www.w3.org/1998/Math/MathML'><mstyle fontfamily='Times New Roman' mathsize='12' mathcolor='#000000' mathbackground='#ffffff' ><mrow><mrow><msup superscriptshift='0'><mi mathcolor='#000000' mathbackground='#ffffff' mathsize='12' mathvariant='italic' fontfamily='Times New Roman'>x</mi><mrow><mi mathcolor='#000000' mathbackground='#ffffff' mathsize='12' mathvariant='italic' fontfamily='Times New Roman'>$</mi><mi mathcolor='#000000' mathbackground='#ffffff' mathsize='12' mathvariant='italic' fontfamily='Times New Roman'>n</mi></mrow></msup></mrow></mrow></mstyle></math>

Hello,
currently I am trying to find out about the java(CN,a,b,c,d,...) function named in the Maple TA help.
I just knocked together a small class which implements the named public function `public String eval(String[ ] args);`

I tried to figure out the right place for my class. So I created a *.jar file containing it. I put it inside the "java" directory contained in the Maple TA install dir. But this does not work. :-(
Right now I am wondering where to put this class and/or jar-file?! Has anybody used this function and is able to help me out?
I would be really thankful for a hint because that function promises to be very useful...

I was trying to generate a derivative of randomized order in Maple T.A.

It seems impossible to me since the $ in the Maple syntax of

diff(function,x$n)

and the $ in the Maple T.A./brownstone syntax needed to denote a variable are incompatible.

Coding, for instance,

$n = range(2,5,1);

$function = maple("diff(x^5,x$($n))");

or

$n = range(2,5,1);

$function = maple("diff(x^5,x$$n)");

in the algorithm section makes Maple T.A. complain about a syntax error immediately

Coding

$n = range(2,5,1);

$function = maple("diff(x^5,x$n)");

leads to

jvm 1 | To Maple --> diff(x^5,x2)

being passed to Maple (taken from wrapper output).

Hi,
I think I will go crazy if I have to type

maple("printf(MathML:-ExportPresentation( ... ))");

one more time. It would be great to have an abbreviate version of this like

mapleml("...");

or something.
Or how about a function available in the question bank editor to translate short LaTeX phrases into mathml? This would solve a huge number of my Maple T.A. issues.
Anyway, along these lines, what I'd really like to do right now is ask my students about double integrals and display something like
$\int\int_R f(x,y)\ dA$
Any suggestions? Can I use mathml() to display symbols like the integral?

I'm posting this on behalf of a user (Peter) who is having problems attaching a file.
Peter, I would prefer to try to resolve this issue here then through my e-mail. You will have more "eyes" on the problem on the site.
My knowledge of German is limited to menus and street signs. But I am presuming your question is that Maple T.A. is marking the partial fraction expansion answer as incorrect when it is correct.
We'll need to see the logic (code) behind the question to deduce where the true source of the problem is. Can you post a regular text post? If not, send me an e-mail.
Thanks.