Re: [sympy] dsolve produces an incorrect result?

2016-06-28 Thread Dan Lewis
gt; > > Aaron Meurer > > > > On Tue, Jun 28, 2016 at 12:54 PM, Aaron Meurer <asme...@gmail.com > > wrote: > >> According to checkodesol(paraChute, solution), the solution is correct. > >> > >> Aaron Meurer > >> > >> On Tue, J

[sympy] dsolve produces an incorrect result?

2016-06-28 Thread Dan Lewis
Hi folks, Looks like sympy/dsolve produces an incorrect solution to an ODE: from sympy import * ​ mass, g, b, t = symbols('mass g b t') v, x = symbols('v x', cls=Function) ​ paraChute = mass*v(t).diff(t)-mass*g+b*(v(t))**2 ​ solution = dsolve(paraChute,v(t),hint='lie_group') solution

[sympy] integral of derivative

2012-07-10 Thread Lewis
Hi I'm trying to integrate a function that is the derivative of another function, but I get a long train of errors. The error is really long but ends up withraise CoercionFailed(expected Number object, got %s % a) CoercionFailed: expected Number object, got +inf My code: from sympy import