Can anyone tell me why "type" answers "false" and why do I get an error message, from the following simple code sequence (Maple 10)?

Thanks

restart;

> testp:=proc(m);

> if (m=0) then 0;

> elif (m>0) then 1;

> elif (m<0) then -1;

> end if;

> end proc;

> assume(n,posint);

> about(n);

> type(n,posint);

> is(n,posint);

> testp(n);

> testp(-1);

testp := proc(m)

if m = 0 then 0

elif 0 < m then 1

elif m < 0 then -1

end if

end proc

Originally n, renamed n~:

is assumed to be: AndProp(integer,RealRange(1,infinity))

false

Hello,
I'm a complete Newbie. The first thing I did was to take the "10 Minute Tour" which is accessed through the help file. One of the things this tour has you do is to create an animated plot, which I did. However, the doc says "Clicking on the plot enables the animation toolbar.". Well, I click on the plot and my cursor turns into a curvey arrow, which let's me twist the plot around, but I don't get any animation toolbar. Could someone tell me exactly where and how to click to bring up the animation toolbar. The doc also mention an "animation slider". How do I get that?
-Thank

#1 Typically, on plots, removable discontinuities are represented by a small cicle at the discontinuity. How can such an object (i.e. the circle) be generated, preferrably automatically, by Maple at these points.
#2 Also, if, for example, the signum function is plotted
(i.e. a step discontinuity at x=0). How is an open circle plotted at (0,-1)
and a closed circle plotted at (0,1)?
Thanks in advance.

Hello everyone,
I asked yesterday a question in the newbies section. I have found a partial answer which I detail further down but still have some questions and errors. I hope someone can give me a hand.
Thanks.
The question is more or less the following:
Given the parameter k.
One declares a nested list like the following:
```
L[n[1],n[2],...n[k],m[1],m[2],.... m[k] ],
```

where all 'n' and 'm' indexes run in the interval:
```
n[i] =0,1,.. ,d-1
m[i] =0,1,.. ,d-1
```

QUESTION: How can we translate this list into a square matrix of dimension d^k that has the indexes:

Hi
I need to find out the index of a dae, is there a maple command that does this for me?

Hello everyone,
I am trying to create a procedure to translate a matrix into a nested list. (in Maple 10)
I actually want to transform the matrix
A[i,j] whose indexes are in the interval i,j=1,2,... d^k
in a list:
L[n1,n2,...,n2k] whose indexes are in the intarval
n1,n2,...n2k = 0,1,2...,d.
For instance, a transformation of indexes could be:
for i from 0 to d do
for j from 0 to d do
for k from 0 to d do
for l from 0 to d do
L[i, j, k, l] := DM*([1+(sum(d^(i-1)*n[i], i = 1 .. k)), 1+(sum(d^(i-1-k)*n[i], i = k .. 2*k))])
od:
od:
od:
od:
But I would actually like to indtroduce k and d as parameters of the procedure. My problem is then how to say:

#1 Typically, on plots, removable discontinuities are represented by a small cicle at the discontinuity. How can such an object (i.e. the circle) be generated, preferrably automatically, by Maple at these points.
#2 Also, if, for example, the signum function is plotted
(i.e. a step discontinuity at x=0). How is an open circle plotted at (0,-1)
and a closed circle plotted at (0,1)?
Thanks in advance.

Hi.

I am trying to debug a small piece of code I've written.

I have a procedure for solving some quite complex equations. For single points in space.

I have a procedure that:

has some quantities passed to it,

brings in a 2 by 80

Does a for loop for each of the rows in the data, to take the first col value, and puts that along with the vars passed to it into the first procedure. It then works out the difference between the value given by the first procedure and the second col. Squares this and adds it to the total.

I'd like to use the NPLSolve minimize function to minimise this total squared sum of differences, by passing differnt values to the second function.

Being new to Maple I can't figure out how to do a 3d plot of a function w/ 3 variables. I want to be able to also do a space curve to show the constraints.
Anyway, here's the function.
f := proc (x1, x2) options operator, arrow; (339+(-1)*0.1e-1*x1+(-1)*0.3e-2*x2)*x1+(399+(-1)*0.4e-2*x1+(-1)*0.1e-1*x2)*x2-400000-195*x1-225*x2 end proc
I am not able to show it.
Thanks,
Bill

Hello, I have a problem with using JSP on MapleNet platform.

Suppose I have a HTML document with forms (the form calls itself for evaluation) and in that document an input text filed:

<input type="text" name="eq1">

At the beginning of the page I can assign a value in the text field to a maple variable:

<maple:assign param="eq1" variable="eqn1" default="sin(x)" />

but imagine that user fills the textfield with the text:

sum(n,n=1..4)

If I use something like this:

<maple:statement>print(eq1)</maple:statement>

There will be 10 on the output. How can I get an unevaluated input ( sum(n,n=1..4))?

solve(y(x)+3, x)
solve(y(x)+3, y)
solve(int((x+3)*y(t), t = 0 .. 2) = x^2+1, y)

Hi All,
I'm wondering if anyone can advise me on ways to perform 3D trapezoidal interpolation in Maple. Using 40 experimental data points View 2213_090606_PleaseHelp.mw on MapleNET or Download 2213_090606_PleaseHelp.mw, my goal is to generate a figure like the one on the right here:
That figure was generated manually by a colleague of mine (he drew in the triangles himself), but I'm wondering if Maple can do something like this. Thank you very much for your time!

Hi all
I'm sorry for the immense stupidity of this question, but I've been reading Maple's help files for about an hour and I can't find the answer to this simple question. Maybe someone can enlighten me!
What is the function that returns the length (by which I mean the number of elements) in a list?
Thanks in advance
Dave
8o)

When I plotted a graph the numbers on the axes were so cluttered that they're not readable. Can I set the scale so that the distance between the numbers is bigger?

Hey... i urgently need help from the experts out there.
Could someone tell what's wrong with these equation? Maple only returns solutions may have been lost!
Thank you.
solve({(-(a*c)*b^(-1)*d111+a^2*b^(-1)*d112-c^2*b^(-1)*d121+a*c*b^(-1)*d122-c^2*b^(-1)*d211+c*a*b^(-1)*d212-c^3*(b*a)^(-1)*d221+c^2*b^(-1)*d222)(b*d211+b*c*a^(-1)*d221-(b*d121+c*b*a^(-1)*d221)),(-(a*c)*b^(-1)*d111+a^2*b^(-1)*d112-c^2*b^(-1)*d121+a*c*b^(-1)*d122-c^2*b^(-1)*d211+c*a*b^(-1)*d212-c^3*(b*a)^(-1)*d221+c^2*b^(-1)*d222)((-c)*d211+a*d212-c^2*a^(-1)*d221+c*d222-((-c)*d121+a*d122-c^2*a^(-1)*d221+c*d222)),((-c)*d211+a*