Python Sympy erfüllbar vs. lösbar?

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Python Sympy erfüllbar vs. lösbar?

by Guest » 15 Jan 2025, 18:16

Ich lerne, Sympy zu verwenden und tue es

Code: Select all

>>> from sympy import *
>>> x, y, z, t = symbols('x y z t')
>>> k, m, n = symbols('k m n', integer=True)
>>> f, g, h = symbols('f g h', cls=Function)
>>> init_printing()
>>> satisfiable((x > 3) & (x == 1))
False
was richtig ist. Aber wenn ich den letzten Teil dieser Anweisung ändere

Code: Select all

>>> print(satisfiable((x > 3) & (x

Top