Skip to content Skip to sidebar Skip to footer

Sympy: Polynomialerror: Cos(a) Contains An Element Of The Generators Set

While using sympy (current version) to solve an polynomial equation (polynom would be d² in this case): from sympy import solve_poly_system solve_poly_system(4*d**2*sin(a)**2*sin(

Solution 1:

solve_poly_system can only solve polynomial systems of equations. Since your equations have cos(a), they are not polynomials in a.


Post a Comment for "Sympy: Polynomialerror: Cos(a) Contains An Element Of The Generators Set"