0
How to write √ of any quantity in python?
2 Respuestas
+ 1
Hi.
I am thinking of numpy in this case.
https://docs.scipy.org/doc/numpy/reference/generated/numpy.sqrt.html
If you consider other than square you might want to use numpy's power
https://docs.scipy.org/doc/numpy/reference/generated/numpy.power.html
+ 1
Are we talking simple roots?
4**(1/2) == 2
27**(1/3) == 3