+ 1

Python error

Whats wrong with my code it says that pow() missing required argument ‘exp (pos2) b = (-y - math.sqrt (abs((pow(y,2)) - 4*x*z))) / (2*x + y) + pow(math.log(3*x , 1/4))

12th Feb 2020, 5:36 AM
Amolap
Amolap - avatar
3 odpowiedzi
+ 1
but 1/4 is my second argumet
12th Feb 2020, 5:44 AM
Amolap
Amolap - avatar
+ 1
Look again, after we reformat what you wrote: pow( math.log(3*x , 1/4) ) The pow call has only one argument, the result from that math.log call.
12th Feb 2020, 9:59 AM
HonFu
HonFu - avatar
0
pow(math.log (3*x), 1/4)????
12th Feb 2020, 6:08 AM
Amolap
Amolap - avatar