First time here? Check out the FAQ!
answered 2021-11-06 08:01:41 +0100
Can you put the function part to a separate function? If you can, please try:
def f(a,b,c): return c*a*b a,b,c = var('a,b,c') c = 1 monte_carlo_integral(f(a,b,c), [0,0], [3,3], 1000)