Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
8e765513cf
commit
e4528eb71f
1 changed files with 7 additions and 0 deletions
|
@ -235,4 +235,11 @@ C1 = sympy.symbols('C1', positive=True)
|
|||
|odd=True| The symbol represents an odd 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)
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue