This is the sin function. Quentin wrote: > This might seem waaay OT but there is a PIC in there somewhere. > Can somebody please help this rusted brain: > > I've been given information as such: > if x=0, y=0 > x=15, y=0.259 > 30, 0.5 > 45, 0.707 > 60, 0.866 > 75, 0.966 > 90, 1.000 > > You will see that while X is linear, Y is not (Log??). With these > information available, how would I calculate Y for all the other values > of X? > > I want to use it in a lookup table in the PIC. > > Thanks > Quentin