Is there an online forum/discussion board devoted to the use of Maple in mathematics education? The forums I know about (here, usenet groups), seem mostly technical. But I have some education questions I'd like to ask - I just don't know where to ask them.
cheers,
Alasdair

I am trying to optimize a function using NLPSolve. The function is in Matlab and Maple calls the function and optimizes it. The values that I am getting are not correct. The optimal values of the parameters are outside the range tha I specify and the function value is not what should correspond to these optimal values. I have attached both the Maple and Matlab codes herewith.
Looking forward to your help.
Maple File:
restart;
Matlab:-evalM("cd 'c:/documents and settings/user/my documents'");
mat2map5 := proc (a, b) local Res, res;
Matlab:-setvar("a", a);
Matlab:-setvar("b", b);

I am trying to call a Matlab function from Maple code. In doing this I am facing the following proble: When I use this statement to identify the matlab directory I get an error messgae "too many input arguments":
(Matlab:-evalM)("cd c:/documents and settings/user/my documents")
However, it works when I use the following:
(Matlab:-evalM)("cd c:/")
I would highly appreciate if someone could help me out with this.
Thanks

The Maple 10 Quick Reference Card is now available as a downloadable, printable version from the Maplesoft website. UNIX, Macintosh and Windows versions are all available.

http://www.maplesoft.com/support/faqs/Maple10/General/qrc.aspx
The quick refernce card is also available with Maple 10 in electronic form and contains a summary of important concepts and commands.
To see the Quick Reference Card inside Maple, go to Help>Quick Reference.

Stupid question maybe, but how can you hide output of a for loop? The usual : does not work here...
Thanks for your help.

Imagine you have to solve the following problem.
xi*(a-(x1+x2+...+xi+...+xn)-b)
However, we can not see ex ante that all the x's are the same. So, I would like to differentiate to xi and equal the derivative to zero. So, I should have xi in function of the other x's. I hope anyone can see what I mean and I beg you to answer me because this is very important for me. Thanks a lot.
Greets
Jan

Hello,
suppose you have the following function which gives 1 if both its arguments are even:
G := (i,j) -> if is(i,even) and is(j,even) then 1; else 0; end if;
Then what is the difference between these two statements:
sum( sum( G(i,j), i=0..5 ), j=0..5 );
add( add( G(i,j), i=0..5 ), j=0..5 );
The first one gives 0 and no sum is actually computed (you can see this by adding print(i) and print(j) statements in the body of G). The second one gives the correct result, namely 9.
How come i is not replaced in sum?
-- Thanks for any reply,
Franky.

How do i plot a bunch of 3D data sets. If it were just one set i could use pointplot3d i suppose.
with(plots):
> l1 := [[1,2,2],[3,4,2],[1,5,6],[7,8,9]];
> l2 := [[1,2,2.5],[3,4,2],[1,5,6],[7,8,9]];
> plots[pointplot3d]([l1,l2], axes=boxed, labels=[x, y, z],
> connect=true); #DOESNT WORK
More exactly i want to plot the data sets (11 rows each) pasted below.
1.000000000000 1.000000000000 .571428571400
2.000000000000 1.000000000000 .139941691000
3.000000000000 1.000000000000 .068542869040
4.000000000000 1.000000000000 .041965021860
5.000000000000 1.000000000000 .028776014990

I was wondering if anyone was familiar with an easy way to embed or hide information into a Maple worksheet (Classic worksheet or Maple 9/9.5 standard worksheet, NOT a Maple 10 standard worksheet)?
I want to be able to be able to have something equivalent to a checksum. We are producing Maple worksheets as homework for students, and I want to have something that the sudent cannot easily change to make sure that he or she is not submitting a friend's homework.

Hey guys,
I'm having a bit of trouble graphing the following:
f'''(x) + f(x)*f''(x) = 0
where
f(0)=f'(0)=0 and f'(infinity)=1
My specific problem is that I can't set f'(0)=0 and f'(infinity)=1
thanks,
Rebecca

I am trying to solve (numerically) the following system of differential equations using dsolve (Maple 9):
DGLS:=seq(seq(diff(B[i,k](t),t)=add(add(W(j,l,i,k)*B[j,l](t)-W(i,k,j,l)*B[i,k](t),l=1..N),j=1..N),k=1..N),i=1..N); The problem is posed by the coefficients W(i,k,j,l). I want to make the W(i,j,k,l) dependent on the unknown functions B[i,k](t). For that purpose I wrote a Maple program W := proc(i::integer, k::integer, j::integer, l::integer) which calculates a "transition probability" Wtrans. If Wtrans does not depend on the B[j,l] (e.g. Wtrans:=1/N^2;), everything works nice. However, if I try to use the B[i,k] somehow (e.g. if NKrit_jl > B[j,l] then Wtrans := 0.5 fi;), then error messages from the procedure W result like "Error, invalid terms in product".

When you try to differentiate a Maple expression with respect to one of the constituents (of expression) which is not simple atomic symbol, Maple could not perform operation, e.g.

```
> diff( sin(x(t)), x(t));
Error, invalid input: diff received x(t), which is not valid for its 2nd argument
```

. One solution to handle this problem is described in book (

Maple book Chap.12)of Walter Ganz (

Walter Ganz). In his trick structured symbol is temporarily replaced (via substitution) with a local variable, differentiation is performed with respect to local variable and finally local variable is replaced with original structured symbol.

Suppose you want to sort a list L ( of numbers ) and also determine order of elements as a list of indices corresponding to elements of original list L, that is, you want such a integer list "I" that

`"seq(L[I[j],j=1..nops(L))"`

to be equivalent to sorted list. This functionality is present in MATLAB in

`"[B,IX] = sort(...)"`

syntax and i come up with this problem while trying to convert a MATLAB function (

GaussQuadratureWeights) to maple. The procedure described resolves problem using a few MAPLE commands including MAPLE's built-in sort function.

What is an efficient, robust, way to extract an integer coefficient from a single term? My first thought was using lcoeff, however, it doesn't work if the term contains constants (say Pi) or floats. Currently I'm using patmatch,

icoeff := proc(t)
local k,x,kx;
return `if`(patmatch(t, k::'nonunit'(integer)*x::anything,kx)
,eval(k,kx)
,1);
end proc:
map(icoeff, [0, 1, -3.0, -3, -0., 3.0*Pi, 4*Pi, -12/5*I]);
[0, 1, 1, -3, 1, 1, 4, 1]

One of my friends told me that Maple used in Linux(SUSE) is unstable,^_^，what he said may be wrong.I need more information about these,Anyone has even used maple in Linux(SUSE)? Can you tell me the difference of maple using in between Linux(SUSE) and Linux(RedHat)? I want to install maple V10 in SuperComputer Center for parallel computing.