De JavaScript-functie Math.asinh () retourneert de hyperbolische arcsinus van een getal.
asinh()
voert de omgekeerde bewerking van de Math.sinh
functie uit.
De syntaxis van de Math.asinh()
functie is:
Math.asinh(x)
asinh()
, zijnde een statische methode, wordt aangeroepen met behulp van de Math
klassenaam.
Math.asinh () Parameters
De Math.asinh()
functie neemt:
- x - Een nummer
Retourwaarde van Math.asinh ()
- Retourneert de hyperbolische arcsinus van het opgegeven getal.
Voorbeeld: Math.asinh () gebruiken
// Using Math.asinh() var num = Math.asinh(0); console.log(num); // 0 var num = Math.asinh(1); console.log(num); // 0.881373587019543 var num = Math.asinh(-1); console.log(num); // -0.881373587019543 var num = Math.asinh(2); console.log(num); // 1.4436354751788103
Uitvoer
0 0,881373587019543 -0,881373587019543 1,4436354751788103
Aanbevolen metingen:
- JavaScript Math sinh ()
- JavaScript Math acosh ()