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 172 views
3 answers 143 views
1 answer 179 views
1 answer 110 views
1 answer 95 views
...