Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Atan()
Message
De
01/03/2002 07:38:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Atan()
Divers
Thread ID:
00626890
Message ID:
00626890
Vues:
35
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform