Java asinh asinh(double x)

Here you can find the source of asinh(double x)

Description

Calculates the hyperbolic area sine.

License

Open Source License

Declaration

public static double asinh(double x) 

Method Source Code

//package com.java2s;
/*//from  www . j  a va  2  s .c o  m
 * Copyright (C) 2009-2011 Michael Kanis and others
 *  
 * This file is part of Geoclipse.
 *
 * Geoclipse is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, version 2 of the License, or
 * (at your option) any later version.
 *
 * Geoclipse is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Geoclipse.  If not, see <http://www.gnu.org/licenses/>.
 */

public class Main {
    /**
     * Calculates the hyperbolic area sine. This is the reverse function of
     * {@link Math#sinh(double)}.
     */
    public static double asinh(double x) {
        return Math.log(x + Math.sqrt(Math.pow(x, 2) + 1));
    }
}

Related

  1. asinh(double a)
  2. asinh(double x)
  3. asinh(double xval)