I'm new on scipy (and new with numerical methods), so excuse me if you found trivial my question, but I spent time searching for an answer. Well, the problem: I want to integrate this equation: dv = [K/(m-dm)] dm where where d means differential (of course). dm is in the numerator and denominator. -Is there chance to solve this integral analytically? -how can I use scipy to integrate this equation (knowh the initial values)? TIA _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user |
This is better suited for sympy than scipy: On Fri, Nov 30, 2018 at 3:17 AM Joan Quintana <[hidden email]> wrote:
_______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user |
That does not look like a valid integral expression... dm should never be in a denominator.... Cheers Le ven. 30 nov. 2018 à 14:44, Denis Akhiyarov <[hidden email]> a écrit :
Sasha _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user |
In reply to this post by Denis Akhiyarov
I don't understand what your equation means. You can't have an expression like m - dm, that is, you can't additively combine scalars with differentials. They exist in different spaces.
Maybe you mean: dv = [K/(m - (dm/dv))] dm ? Then rewrite it as (dv/dm) [m - (dm/dv)] = K m(dv/dm) - 1 = K dv/dm = (K+1)/m v = -(K+1)/(m**2) + constant But I am guessing your intentions, and I might be missing something. ________________________________________ On Fri, Nov 30, 2018 at 3:17 AM Joan Quintana <[hidden email]<mailto:[hidden email]>> wrote: I'm new on scipy (and new with numerical methods), so excuse me if you found trivial my question, but I spent time searching for an answer. Well, the problem: I want to integrate this equation: dv = [K/(m-dm)] dm where where d means differential (of course). dm is in the numerator and denominator. -Is there chance to solve this integral analytically? -how can I use scipy to integrate this equation (knowh the initial values)? TIA _______________________________________________ SciPy-User mailing list [hidden email]<mailto:[hidden email]> https://mail.python.org/mailman/listinfo/scipy-user _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user |
Free forum by Nabble | Edit this page |