Re: sine and modulus ?



On Sun, 19 Oct 2008 15:54:30 EDT, amy666 <tommy1729@xxxxxxxxxxx>
wrote:

quasi wrote :

On Sun, 19 Oct 2008 07:17:44 EDT, amy666
<tommy1729@xxxxxxxxxxx>
wrote:

im thinking about a sine defined for modulus
algebra.

Sounds like fun.

sin(a) mod p = b mod p

cos(a) mod p = c mod p

b^2 + c^2 = 1 mod p

where the sine and cosine can be computed by their
taylor series expanded at 0 and mod p.

But regardless of the modulus, the coefficients of the
Taylor series are eventually all undefined (division by 0).

huh ?

mod p is chosen such that all elements have multiplicative inverses ...

All _nonzero_ elements have multiplicative inverses.

What is the Taylor series for sin(x)? (over the reals)

Now try it (mod 2). Next try (mod 3).

Do you see a problem?

quasi
.



Relevant Pages

  • Re: sine and modulus ?
    ... Sounds like fun. ... where the sine and cosine can be computed by their taylor series expanded at 0 and mod p. ...
    (sci.math)
  • Re: Maxwells Equations
    ... As someone used to programming a computer (and I've had occasion ... to compute sine from the Taylor series on a machine that didn't have ...
    (sci.physics.relativity)
  • Re: Calculating Pi
    ... f= x + sin x ... when you take the sine of a small angle, ... The Taylor series for sinis ...
    (sci.math)
  • sine of a matrix using taylor series expension in matlab
    ... matrix using taylor series in matlab. ... I know i can find the sine of a ... taylor series expension of Sin...what will be the matlab command ...
    (sci.math.num-analysis)