mirror of
https://github.com/davrot/pytutorial.git
synced 2025-04-18 21:26:41 +02:00
Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
9a59257ada
commit
80507a9bdd
1 changed files with 12 additions and 2 deletions
|
@ -16,15 +16,25 @@ pip install sympy
|
||||||
|
|
||||||
||
|
||
|
||||||
|---|
|
|---|
|
||||||
|
|[Basic Operations](https://docs.sympy.org/latest/tutorials/intro-tutorial/basic_operations.html)|
|
||||||
|
|[Printing](https://docs.sympy.org/latest/tutorials/intro-tutorial/printing.html)|
|
||||||
|[Simplification](https://docs.sympy.org/latest/tutorials/intro-tutorial/simplification.html)|
|
|[Simplification](https://docs.sympy.org/latest/tutorials/intro-tutorial/simplification.html)|
|
||||||
|[Calculus](https://docs.sympy.org/latest/tutorials/intro-tutorial/calculus.html) |
|
|[Calculus](https://docs.sympy.org/latest/tutorials/intro-tutorial/calculus.html) |
|
||||||
|[Solvers](https://docs.sympy.org/latest/tutorials/intro-tutorial/solvers.html)|
|
|[Solvers](https://docs.sympy.org/latest/tutorials/intro-tutorial/solvers.html)|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [Some examples](https://docs.sympy.org/latest/tutorials/intro-tutorial/intro.html#a-more-interesting-example)
|
## [Some examples](https://docs.sympy.org/latest/tutorials/intro-tutorial/intro.html#a-more-interesting-example)
|
||||||
|
|
||||||
|
## [Substitution](https://docs.sympy.org/latest/tutorials/intro-tutorial/basic_operations.html#substitution)
|
||||||
|
```python
|
||||||
|
import sympy
|
||||||
|
|
||||||
|
x, y = sympy.symbols("x y")
|
||||||
|
|
||||||
|
expr = sympy.cos(x) + 1
|
||||||
|
z = expr.subs(x, y**2)
|
||||||
|
print(z) # -> cos(y**2) + 1
|
||||||
|
```
|
||||||
|
|
||||||
### [Derivatives](https://docs.sympy.org/latest/tutorials/intro-tutorial/calculus.html#derivatives)
|
### [Derivatives](https://docs.sympy.org/latest/tutorials/intro-tutorial/calculus.html#derivatives)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue