On Nov 5, 7:54 am, Andrew Hidden <l0ckd0wn.3.2....@gmail.com> wrote: > I was reading another post here on Implicit Differentiation however it > was not quiet what I was looking for. I am just wondering how to do it > in a more simple way like finding dy/dx for x^2+y^2 - 36 Is there > something I dont know of like implicit_diff() <-- (I wish)?
I'm not sure which post you looked at, but does the following do what you are hoping? ### >>> import sympy as s >>> eq=s.sympify('x^2+y^2 - 36') >>> f=s.Function('f') >>> eq=eq.subs(y,f(x)) >>> [ans.subs(f(x), y) for ans in s.solve(eq.diff(x), f(x).diff(x))] [-x/y] ### /c --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---