leepols
Messages postés2Date d'inscriptionlundi 23 mai 2005StatutMembreDernière intervention 8 avril 2007
-
23 mai 2005 à 17:25
leepols
Messages postés2Date d'inscriptionlundi 23 mai 2005StatutMembreDernière intervention 8 avril 2007
-
23 mai 2005 à 23:52
Je cherche comment faire la fonction logarithme népérien en java pour la calculatrice que je développe en ce momment.
leepols
Messages postés2Date d'inscriptionlundi 23 mai 2005StatutMembreDernière intervention 8 avril 20073 23 mai 2005 à 23:52
oui en fait Math.log( double d) correspond a la fonction Ln et pour avoir le logarithme décimal (log) il faut faire
x = Math.log( double d )/Math.log(10);// x correspond à log(d)