A good approximation for any trig function (or any other function, for that matter) is called the MacLaurin series. check out this website:
http://mathworld.wolfram.com/MaclaurinSeries.html
Anyway, this only works in radians and from -pi/2 to pi/2. It also requires some floating point math.