import java.lang.Math.*; class Demoasinh { double asinh(double x) { return Math.log(x + Math.sqrt(x*x + 1.0)); } public static void main(String args[]) { Demoasinh d= new Demoasinh(); double x= 3.0; double res=d.asinh(x); System.out.println(res); } }
Output: |
---|
1.8184464592320668 |