the formula is in the pic and i tried typing it:
b=5√(K*∛(0,01)+(1-e^x)^2 )
thank you!
b=5√(K*∛(0,01)+(1-e^x)^2 )
thank you!
please help me convert this formula via the math module
|
the formula is in the pic and i tried typing it:
b=5√(K*∛(0,01)+(1-e^x)^2 ) thank you!
Apr-10-2024, 12:51 AM
** is the power operator, not ^. You can also use the power operator for roots x ** (1/2) is square root and x ** (1/3) is cubed root. For Euler's number (e) you will need to look at the math library. You'll also find functions for ex (exp(x)), xy (pow(x, y). There is no function for roots, but you can use pow() with a fraction for the exponent.
https://docs.python.org/3/library/math.html |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Math Module import | Jack_Sparrow | 3 | 6,476 |
Apr-30-2018, 01:41 PM Last Post: snippsat |