Tan(x) en C
Fermé
waterminator
Messages postés
11
Date d'inscription
jeudi 9 décembre 2010
Statut
Membre
Dernière intervention
13 mars 2011
-
Modifié par waterminator le 5/01/2011 à 20:14
scriptiz Messages postés 1420 Date d'inscription dimanche 21 décembre 2008 Statut Membre Dernière intervention 14 mai 2013 - 5 janv. 2011 à 21:02
scriptiz Messages postés 1420 Date d'inscription dimanche 21 décembre 2008 Statut Membre Dernière intervention 14 mai 2013 - 5 janv. 2011 à 21:02
A voir également:
- Tan(x) en C
- L x l x h ✓ - Forum Loisirs / Divertissements
- %X en c ✓ - Forum C
- Site x - Forum Internet / Réseaux sociaux
- Direct x 12 - Télécharger - Pilotes & Matériel
- Sites x - Forum Google Chrome
1 réponse
scriptiz
Messages postés
1420
Date d'inscription
dimanche 21 décembre 2008
Statut
Membre
Dernière intervention
14 mai 2013
422
Modifié par scriptiz le 5/01/2011 à 21:03
Modifié par scriptiz le 5/01/2011 à 21:03
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