Compute Hyperbolic Sine
Examples
Filter
console.log(Math.sinh(0));
// expected output: 0
console.log(Math.sinh(1));
// expected output: 1.1752011936438014
console.log(Math.sinh(-1));
// expected output: -1.1752011936438014
console.log(Math.sinh(2));
// expected output: 3.626860407847019
Math.sinh(0); // 0
Math.sinh(1); // 1.1752011936438014
package main
import (
"fmt"
"math"
)
func main() {
fmt.Printf("%.2f", math.Sinh(0))
}