### sin() and arccos() implementations

Posted:

**Sun Jun 06, 2010 5:54 am**I've been searching for two hours now on how I can implement sin() and arccos() for my standard headers in my os. So far I don't understand how how computers calculate the sine of an angle with only the angle. I'm going into algebra 2 next year and I've even tried making the function myself, with no luck.

I'm asking if anyone can show me how a computer calculates the sine or arccosine of an angle with only the angle. I need this for my VGA driver's drawCircle function. So if anyone has their own implementation or can show me how to make one I would be grateful.

I'm asking if anyone can show me how a computer calculates the sine or arccosine of an angle with only the angle. I need this for my VGA driver's drawCircle function. So if anyone has their own implementation or can show me how to make one I would be grateful.