Hi,
I was wondering if anyone knew how to make MAPLE (10 that is) to diplay all the permutations of a certain number, say 1100 with each digit in a position in a vector. I can only work out how to make MAPLE work out the permutaions- and nopw how to put it into a vector. Also, the permutaions recognise the two ones and zeros as different numbers, when I don't want that. So for the example 1100, I would want MAPLE to output
(1,1,0,0)
(1,0,1,0)
(1,0,0,1)
(0,1,1,0)
(0,1,0,1)
(0,0,1,1)
Can anybody help me with this?
Thanks,
Steph

Hello,
Could anybody please tell me how to plot regions using a procedure in maple. Specifically I have a procedure f of two variables that can output an integer between 1 and n. I want a 2 dimensional plot that gives a different color for each value of this procedure. Any help is much appreciated -- thanks.
PS: As an example I tried this:
> g := proc (x, y) if x <> plot3d(1, x = 0 .. 2, y = 0 .. 2, color = g(x, y));
But this results in the following error:
Error, (in g) cannot determine if this expression is true or false x

Does Maple have any functions that would help to work out nth Term series problems where I'm giving a series of fractions and I need to determine what the nth Term is before I can start working the problems?
Thanks,

I hate to keep comparing but its all I know so have to compare to something. In Mathcad I can drop a table on a worksheet and fill it with values. Then use those values in an equation or plot.
I can also take a series and fill a table based on operations of that series. ie: 1..5 and have it fill a visual table that I can review the values in.
In Maple, when I've messed around with the table() function it ends up putting code on my worksheet and I have to double click it to see what is in it. Is there some easier method to work with tables of values that works more like Mathcad?
Thanks,

I can plot things like this very easily in Mathcad but continue to run into problems with Maple. Mostly just habits I need to change but can't quite figure this one out. Hoping one of you guys can help me along.
I have a problem with the following command:
plot( (-1)^n + n^3 / n^3 +4n^2 + 8, n=1..infinity );
I've tried a smaller range on n but all I seem to get is a blank grid.
Thanks,
glenn

Subject: export animation ---> beamer / pdf?
is in the newer releases "animated gif" still the only option
for exporting MAPLE animations?
if so, what is the best way of getting this into a beamer
(via latex/pdflatex and acroread) presentation -- prefer-
rably portable to any machine that has acro-read installed
(want to bring the talk on a memory stick, don't bring the
laptop -- yet not worry about installed helpers).
so far my pdflatex accepts in beamer mp4 movies, and I can
convert single frames of gif to pdf, but not animations.

I was wondering if there is a way to animate a plot composed of points from a listlist. The points are x/y cordinates read from a file and then placed into a listlist for plotting.
In other words, I'd like to use the animation controls to animate the drawing of the plot shown below.

```
tListList := [[2.3, 1.1], [3.4, 2.3], [4.3, 5.6], [5.3, 6.7], [7.2, 8.9], [12.4, 2.5], [13.4, 12.5]]:
with(plots); with(CurveFitting); tSpline := BSplineCurve(tListList, v):
plot(tSpline)
```

I've made some animations in maple that I could like to show in a power point presentation. Does anyone know how this is done most easily?

I am just getting started in Maple TA and want to know if I add the following to my TA plots:
1) Include gridlines;
2) Include both the graph of a function and key points scatter-plotted on the graph. I haven't determined how to do this in Maple 11 much less in TA. In Maple 11 I've been able to plot points with "pointplot" and of course can plot functions but would like to display both on the same graph ultimately in TA so students can identify specific coordinates on the graph of a function;
3) Locate text on a plot in TA such as key coordinates of a function as can be done in Maple

Dear all,
I am trying to write a little program (called "rcltnn") which calculates a recurrence. The problem: Maple does not return numbers but strings which arrise from the recurrence. Example: for n=4 I expect to get rcltnn(n=4)=95, but Maple gives
15+7*rcltnn(2)+6*rcltnn(3)
Actually, that string is correct but not fully evaluated.
We have rcltnn(2)=2 and rcltnn(3)=11 (further values are rcltnn(1)=1 and rcltnn(0)=0).
Here my program (I have played with many versions of this program)
rctlnn := proc (n::integer) global j, rctlnn; option remember; if n = 0 then rctlnn := 0 else rctlnn := combinat:-bell(n); for j from 2 to n-1 do rctlnn := rctlnn+combinat:-stirling2(n,j)*rcltnn(j) end do; end if end proc;

kernel shutsdown when memory usage reaches 1.8 GB
i tried the following combinations:
maple 10.06 on amd 3500 3GB XP
maple 11.00 on amd 3500 3GB XP
maple 11.00 on dual xeon 4GB XP
maple 11.00 on quad xeon 8GB XP 64-bit
in version 10.06 maple terminates with memory allocation error
in version 11.00 the mserver process terminates without notification
the problem consistently occurs at a memory usage of approx. 1.8 GB
i am using GRTENSOR however the bug occurs in pure maple computations, specifically with the SIMPLIFY command
any idea?

This code works fine in Maple. When transferred to TA, the $i on the index in the **coef:=** command line will not compile. TA thinks the $ is naming a constant. Any other ideas on how to double index within the solve(op commands?
with(powseries);
powcreate(Ys(n) = a[n]);
tpsform(Ys, x, 5);
dy:= powdiff(Ys);
ddy:= powdiff(dy);
c1 := powpoly($d1, x);
c2 := powpoly($d2, x);
tpsform(c1, x);
tpsform(c2, x);
slnp := powadd(multiply(ddy, c1), multiply(Ys, c2));
slnnp := tpsform(slnp, x, 6);
coef:=solve({(op(2*i+1,slnnp),$i = 0 .. 3)}, {(a[i],$i= 1 .. 6)});
soln := subs(coef, tpsform(Ys, x, 6));

Why Maple 11 does not reply by true for the following snipped:

assume(m::real):

PIECEWISE([exp(m)-exp(-m), m <= 0],[0, 0 < m]) = min(0, exp(m)-exp(-m));

convert(%,piecewise,m);

is(%);

It handles the 3 cases 0<m, m=0, 0<m correctly. I find that strange.

I was trying to do something that I thought would be really simple - without success - then it occurred to me what was missing... a couple of quotes. There's other ways to do the same thing, but this is just the way I was trying to do it.
sum all primes up to a certain count. ithprime returns prime up to cnt ( no quotes required )
no quotes required --
sum(ithprime(b), b = 1 .. 5) #adds 2,3,5,7,11
sum all primes up to a certain number.
quotes are required --
tprime := proc (s) if isprime(s) then s else 0 end if end proc
sum('tprime(n)', n = 1 .. 12) #adds 2,3,5,7,11

Hello everybody,
I have a question please. I would like to resolve an optimization program.
The objective functions are not linear and the constraints are the inequality functions.
Can somebody tell me if we can resolve this type of programs with maple.
Thanks a lot,
Sarah