def ddtanh(x):
        return -2 * sinh(x) / cosh(x) ** 3