Trigonométrie, exponentielle, puissance
Syntaxe : Trigonométrie
Les fonctions trigonométriques s'écrivent :
np.sin(0)
np.cos(0)
np.sin(np.pi/2)
np.cos(np.pi)
np.tan(np.pi/4)
Les angles sont exprimés en radian. np.pi
est la constante \(\pi\)
Les fonctions trigonométriques inverses s'écrivent :
np.arcsin(0)
np.arccos(0)
np.arctan(1)
np.arctan2(1,-1)
Les angles sont exprimés en radian. La fonction np.atan2(y,x)
avec deux arguments donne l'angle \(\alpha\) entre \([-\pi , +\pi [\)tel que
\(x+iy=\rho e^{i\alpha}\)
Syntaxe : Fonction exponentielle, log népérien et puissance
Fonction logarithmique
np.log(1)
np.log(np.e)
où np.e\(=e^1\)
Fonction Exponentielle
np.exp(1)
np.exp(0)
Fonction puissance
2**3