Jay,
As you and Nelson say, your result is probably attributable to
numerical accuracy of the system. More generally though, the result
occurs because the CAS evaluates sin(2*pi/17) before it does the
expansion of the trigonometric identity. Experienced programmers of
the CAS have known for some time that the order of substitutions and
evaluations make a big difference in results. In order to obtain the
correct result from the CAS, you must force the CAS to make the
substitutions and expansions in the "right" order. Here is the way I
would have done that:
expr(string(expr("texpand(sin(2x))"))&"|x=π/17")=2*sin(((π)/(17)))*cos
(((π)/(17))) which the CAS evaluates to "true". I won't attempt to
explain what is going on here, expecting that you and others can parse
the construction by using the reference guide. Suffice it to say that
CAS programmers who regularly use this kind of construction would do
something like the above to obtain the correct result. It is not
ideal, but looking for prefection in a CAS will give you a lot of grey
hair. Mine is already all grey. :-)
Wayne
> > > rules define the limits of CAS?- Hide quoted text -
>
> - Show quoted text -