- 1

what is the function code for this?

√(2^(2)+3^(2))

4th Jun 2017, 9:03 PM
HASSAN AIT BIHI
3 Antworten
+ 2
also, taking the square root is pretty much like raising to the power 0.5, so you can do that. There is less precision, but it doesn't require an import...
4th Jun 2017, 9:32 PM
Amaras A
Amaras A - avatar
+ 3
import math; math.sqrt(2**2 + 3**2) You can also do math.pow(x, y) for exponents. (x^y)
4th Jun 2017, 9:10 PM
Rrestoring faith
Rrestoring faith - avatar
0
wow I never knew that thank you so much
4th Jun 2017, 9:38 PM
HASSAN AIT BIHI