# Modeling and Simulation in Python

Chapter 11: Rotation

Copyright 2017 Allen Downey

License: [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0)



```python
from sympy import *

init_printing()
```


```python
T, a, alpha, I, m, g, r = symbols('T a alpha I m g r')
```


```python
eq1 = Eq(a, -r * alpha)
eq1
```


```python
eq2 = Eq(T - m * g, m * a)
eq2
```


```python
eq3 = Eq(T * r, I * alpha)
eq3
```


```python
soln = solve([eq1, eq2, eq3], [T, a, alpha])
```


```python
soln[T]
```


```python
soln[a]
```


```python
soln[alpha]
```


```python

```


```python

```

40c78dedda3179ac64809ab6c77a52ad1cb1c054
ipynb
Jupyter Notebook
code/old_notebooks/chap11sympy.ipynb
leilamerz/ModSimPy
b877b6053a461c179643f55d0f1c1d929af0aef8
MIT
2021-04-13T01:09:39.000Z
2021-04-13T01:09:39.000Z
code/old_notebooks/chap11sympy.ipynb
leilamerz/ModSimPy
b877b6053a461c179643f55d0f1c1d929af0aef8
MIT
code/old_notebooks/chap11sympy.ipynb
leilamerz/ModSimPy
b877b6053a461c179643f55d0f1c1d929af0aef8
MIT
2021-04-13T01:10:41.000Z
2021-04-13T01:10:41.000Z
Qwen/Qwen-72B
1. YES
2. YES