On 6/13/06, kirby urner <[EMAIL PROTECTED]> wrote:
> If you had a Rational class handy, you could carry out a series
> expansion for sine and cosine to get fully rational results, e.g.:
>
> sine (x) == sigma (  ((-1)**n * x ** (2*n + 1))/fact(2*n + 1) )
>

Like, sine of 1/3 radian is about:

27047072606210481759999009438891363156074338083237552748240939073
------------------------------------------------------------------------------------------------------------------
82663542138830139150090619203306227146181541524716231065600000000

expanding by some 20 terms.

Kirby
_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to