I'm not sure exactly what you mean. Does this help?

In [1]: a, b, c, d, x, y, z = symbols('a, b, c, d, x, y, z')

In [2]: eq = a*x + b*y+ c*z - d

In [3]: eq
Out[3]: a⋅x + b⋅y + c⋅z - d

In [4]: eq.coeff(x)
Out[4]: a

In [5]: eq.coeff(y)
Out[5]: b

In [6]: eq.coeff(z)
Out[6]: c

On Tue, 25 Jun 2019 at 18:13, HGO HGO <hgohg...@gmail.com> wrote:
>
> hi
>
> is it possible given a plane equation to extract the coefficients a,b,c,d ?
>
> thank you
>
> --
> 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 sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> 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/c9d43645-b45e-4690-8997-98f5ea8763a9%40googlegroups.com.
> 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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
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/CAHVvXxQZedJND3fDZw7e%3D2%2BBPiX69PC2Rn5eni-v1%2BbzOCfH3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to