Inverse hyperbolic cosine.

Ok so it all start with this formula.

So I need to calculate F, and for that I need to put the Cosh on the right side of the equation, for that I need to convert it to the Inverse hyperbolic cosine ( acosh or arcosh or whatever you prefer to call it).

I can’t the formula in code for C# anywhere, the closes I came was this:

The problem is, I have no idea what the “ln” means, and google also dosen’t tell me anything about it.

So if anyone here knows the formula, or atleats knows what “ln” does, I would really apreciate it.

ln is the natural logarithm. it should be included in any decent math library.

Google has plenty of results, you just need to realise that it’s spelt LN, not IN as it looks when written. Mathematicians are nice like that.

So wich formula should I use? I scrolled trough it, and there are probably 30+ formulas total, and I can’t seem to find the correct one.

Is it maybe Math.Log?

Math.Log will do the job for you.

Out of curiosity what are you building? It’s been a long time since I encountered a hyperbolic cosine in the wild.

Orbital simulatior ( I need it to be able to calculate hyperbolic orbits), if you want I can pass you a export of the project.