Tan(x) en C
waterminator
Messages postés
11
Date d'inscription
Statut
Membre
Dernière intervention
-
scriptiz Messages postés 1424 Date d'inscription Statut Membre Dernière intervention -
scriptiz Messages postés 1424 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
je recherche une fonction qui calculerai tan(x) (ou je changerai a ma guise x evidemment ^^)
pouvez vous m'aider?
je ne sais pas si cela a une importance mais je travail avec un float
je recherche une fonction qui calculerai tan(x) (ou je changerai a ma guise x evidemment ^^)
pouvez vous m'aider?
je ne sais pas si cela a une importance mais je travail avec un float
A voir également:
- Tan(x) en C
- Site x - Guide
- Sites X : Pornhub, YouPorn et Redtube sont de nouveau accessibles en France - Guide
- Photoscape x - Télécharger - Retouche d'image
- Direct x - Télécharger - Pilotes & Matériel
- Sit x - Accueil - Protection
1 réponse
La fonction tan(double x) existe bien :
http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.7.html
N'oublie pas de faire un include de math.h ;)
Et fait attention au fait que x doit être un angle en radians et non en degrés !
"The most successful method of programming is to begin a program as simply as possible, test it, and then add to the program until it performs the required job." -- PDP8 handbook, Pg 9-64
http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.7.html
N'oublie pas de faire un include de math.h ;)
Et fait attention au fait que x doit être un angle en radians et non en degrés !
"The most successful method of programming is to begin a program as simply as possible, test it, and then add to the program until it performs the required job." -- PDP8 handbook, Pg 9-64