For the purpose of my class, "math unlimited" (see download section), I can't use the built-in atan() function. Instead, I have to program it myself, using an infinite series.
The problem is, the series I find in books only works for arguments <= 1. That is, it will only work if the resulting angle has an absolute value of <= 45 degrees. And for arguments approaching 1, the infinite series will converge very slow.
Does anyone know of a conversion function, to reduce, for instance, atan(2) to an atan() of smaller angles?
And, does anybody know conversion functions, or infinite series, to obtain asin() and acos()?
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)