How to calculate the inverse hyperbolic tangent of a number in Python

1 Answer

0 votes
import math

print(math.atanh(0.5))

print(math.atanh(-0.8))

 
 
 
'''
run:
 
0.5493061443340548
-1.0986122886681098

'''

 



answered Aug 9, 2022 by avibootz

Related questions

1 answer 184 views
3 answers 168 views
1 answer 198 views
1 answer 120 views
1 answer 113 views
...