Search code examples
mathcordic

How can we use cordic to tanh(x+1)/tanh(x)?


How can we use cordic to

tanh(x+1)/tanh(x)

I can't get a idea about how to apply cordic to above function.

In other word, which point on the above function, can we apply cordic?


Solution

  • Cordic is an extremely fast and efficient algorithm for implementing trigonometric functions. The most common implementations you can find refer to sin/cos functions but it can be used for their hyperbolic counterparts.

    Once you have an implementation for sinh/cosh is easy to get tanh.

    Have a look here