Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2024-01-26 18:24:51 +01:00 committed by GitHub
parent 8e765513cf
commit e4528eb71f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,4 +235,11 @@ C1 = sympy.symbols('C1', positive=True)
|odd=True| The symbol represents an odd number.| |odd=True| The symbol represents an odd number.|
|even=True| The symbol represents an even number.| |even=True| The symbol represents an even number.|
## Limiting the range of a symbol
```python
import sympy
x = sympy.symbols("x")
sympy.solve([x**2 - 1, x >= 0.5, x <= 3], x)
```