On 2014-05-28, George Hokke <manuel.offid...@gmail.com> wrote: > Hi, > what I want to do is to solve an equation in which the function contains a > numerical integral in its definition. > Something like this: > > sage: d=lambda y: numerical_integral(x**2+y,0,1)[0] > sage: d(0) > 0.333333333333 > > works until here. > But now I'd want to do: > > sage: solve(d(y)==1,y) > ValueError: Integral has wrong number of parameters
solve only works with symbolic expressions, but not with python functions. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.