There is an open pull request to make this work https://github.com/sympy/sympy/pull/11264
For now, you will have to substitute them manually using subs. Aaron Meurer On Thu, Aug 25, 2016 at 10:31 AM, <[email protected]> wrote: > import sympy as sp > s,v,x=sp.symbols('s v x') > f=sp.Function('f') > temp=sp.dsolve(sp.diff(f(x), x,x)*s**2/2 -v*sp.diff(f(x),x)+1, f(x), ics > ={f(0):0, f(a):0}) > > The output is equation for f(x) with variables C1, C2, v, x and s (Why?!). > I want an equation in terms of x,s,v and a, that's why I supplied the > boundary conditions in the first place. How can I do that? > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/sympy/b4b43a56-661d-43ca-b7c3-2ba66379d286%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/b4b43a56-661d-43ca-b7c3-2ba66379d286%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6KR9s-3kAbYAxec2ek%2BoKzGMfADeNDTzTXpuj4saW63ug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
