Sorry as I am very new to this just to check if I use a calculator to check will I get the correct value. Cos I have tested on calculator I don't seem to get the result. According to the AN I am doing the following y = |x| * 4 / pi Z1 = |x| - y*P1 Z2 =Z1- y*P2 Z =Z2- y*P3 result = Z*Z maybe i follow the code wrongly regards ----- Original Message ----- From: "Spehro Pefhany" To: Sent: Tuesday, November 26, 2002 8:19 AM Subject: Re: Sin and cos maths funtion on PIC(AN660 ) > At 12:08 AM 11/27/02 -0800, you wrote: > >Hi thanks for the infor > >sorry just to check the value for > >sin(x) > >the x is it in rad? > > Radians, yes. > > Best regards, > > Spehro Pefhany --"it's the network..." "The Journey is the reward" > speff@interlog.com Info for manufacturers: http://www.trexon.com > Embedded software/hardware/analog Info for designers: http://www.speff.com > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body