## Animations not displaying...

I am experimenting with rotating a group of pionts, lines cylinders etc. the only aminations that  will display are where I put the transformations directly as the point coordinates. This is very tedious. Is there a way around this problem efficiently? Attached worksheet shows problem(s). Ultimately I will have a whole group of objects to rotate.

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

 (8)

 (9)

 (10)

 (11)

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

 (8)

 (9)

 (10)

 (11)

## Evaluation of indexed variables in a Product(...) ...

Hi everybody,

I generate random variables of the form X__E__n, n=1..N where N is assigned to some integer value (the double index is not a crucial point for the issue already appears with a single level of index).
Next I want to express a likelihood based upon these random variables in two different ways : a very symbolic one which uses the function "Product" an a second one that uses "product".

My problem is that I can't obtain the desired expressions.
As "Product" returns me a completely satisfactory expression, "product" (as I use it) refuses to return me the desired expression.

Without doubt this is due to a poor knowledge of the detailed way Maple proceeds to evaluate indices in seq, sum or product.
All explanation will be largely appreciated.

## Very special evaluation rules of `if`...

In the following code, why is B returned unevaluated?

`restart:A:= a:  B:= 2:F:= _a-> eval(`if`(A,B,C), a= _a):F(true);                               Beval(B);                   ...`

## evaluation of expression using int vs Int...

Can anyone explain why I get a different answer if I use int instead of Int in the following evaluation:

`> evalf(subs(r = 1, Int(Int(Dirac(x1+x2-r)*q, x1 = 0 .. 1), x2 = 0 .. 1)));                                 1.676209155`
`> evalf(subs(r = 1, int(int(Dirac(x1+x2-r)*q, x1 = 0 .. 1), x2 = 0 .. 1)));                                     0.`

## evaluation question

by: Maple

Can anyone explain to me why the argument of the innerproc, which as y is a local of the outerproc, gets evaluated more than one level?

innerproc := proc(t)
print(t[1]); # or dismantle, or lprint
end proc:

outerproc := proc(x)
local y;
y := x;
print(y[1]); # or dismantle, or lprint
innerproc(y);
end proc:

outerproc(vector(1,['exp(0)']));

acer

 Page 1 of 1
﻿