On 5/6/07, Barton Willis <willisb at unk.edu> wrote:
> ********************** Problem 16 ***************
> Input:
> integrate(sin(t),t,0,x)
> Result:
> integrate(sin(t),t,0,t)
> ... Which was correct.
> ********************** Problem 17 ***************
Immediately preceding that test, there is a call to a match function
defined by defmatch. Such functions assign to global variables
(f, x, a, and b in this case). So it is as if x:'t were evaluated just
before integrate(sin(t),t,0,x). So the result is correct.
It's a kind of a silly test, though. If the point is to verify that
the defmatch function correctly assigned the values, it would
be better to have
[f, x, a, b];
[sin(t), t, x + %pi, x + 2*%pi];
HTH
Robert