Re: Hyperbolic trig functions

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jeremy Peterson wrote:
> 
> Anybody know what the formulas are to calculate the hyperbolic arcsin arcos
> and arctan?
> 
> Thanks,
> Jeremy
> 
> Edmund Burke: "All that is necessary for evil to triumph is for good men to
> do nothing."

Here are the definitions of these functions I wrote some time ago:

--Hyperbolic Arcsin
global function arcsinh(atom x)
    return log(x+sqrt(x*x+1.0))
end function

--Hyperbolic Arccos
global function arccosh(atom x)
    return log(x+sqrt(x*x-1.0))
end function

--Hyperbolic Arctan
global function arctanh(atom x)
    return log((1.0+x)/(1.0-x))/2.0
end function


Larry Miller

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu