## Global Optimization with Maple --- Book Announceme...

by: Maple Toolboxes
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

## How non-Maple-owners can access content via MapleP...

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.

## Sketch questions in maple TA...

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)

## Maple for LabVIEW 8...

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

## printf in MapleTA 2.5...

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. ## Escape character for quotation marks... Asked by: 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]) ## Problems with and bugs of equation editor... Asked by: 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>[/itex]<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>[/itex] ## Possibility to call java programs from Maple TA... Asked by: 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... ## incompatible$-char...

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)");
jvm 1 | To Maple --> diff(x^5,x2)
being passed to Maple (taken from wrapper output).

## Nice mathematical markup ideas?...

maple("printf(MathML:-ExportPresentation( ... ))");
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?