Re: sine and modulus ?
- From: quasi <quasi@xxxxxxxx>
- Date: Mon, 20 Oct 2008 17:19:43 -0400
On Mon, 20 Oct 2008 15:23:07 EDT, amy666 <tommy1729@xxxxxxxxxxx>
wrote:
quasi :
On Sun, 19 Oct 2008 15:54:30 EDT, amy666
<tommy1729@xxxxxxxxxxx>
wrote:
quasi wrote :their
On Sun, 19 Oct 2008 07:17:44 EDT, amy666
<tommy1729@xxxxxxxxxxx>
wrote:
im thinking about a sine defined for modulusalgebra.
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
thetaylor series expanded at 0 and mod p.
But regardless of the modulus, the coefficients of
(division by 0).Taylor series are eventually all undefined
multiplicative inverses ...
huh ?
mod p is chosen such that all elements have
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?
x - x^3/3! + x^5/5! - ...
computing divisions and powers is no problem in modulus.
So let's see you compute sin(1) (mod p) for a few selected values of
p, for example, p = 2 and p = 3.
Don't worry about limits -- just compute the first few terms.
quasi
.
- Follow-Ups:
- Re: sine and modulus ?
- From: amy666
- Re: sine and modulus ?
- References:
- Re: sine and modulus ?
- From: quasi
- Re: sine and modulus ?
- From: amy666
- Re: sine and modulus ?
- Prev by Date: college algebra question
- Next by Date: Re: college algebra question
- Previous by thread: Re: sine and modulus ?
- Next by thread: Re: sine and modulus ?
- Index(es):
Relevant Pages
|