Rajesh v - 6 months ago 57

SQL Question

I need to implement Tanh calculation on my procedure. I tried to find formula, but natively and not available on any forums. Kindly help me on this

Answer

Very long time since I did any maths like this, but I believe

```
Tanh(x) = (EXP(x) - EXP(-x)) / (EXP(x) + EXP(-x))
```