```python
import numpy as np
import matplotlib.pyplot as plt 
from mpl_toolkits.mplot3d import axes3d
import matplotlib.cm as cm
from IPython.display import display, Math, clear_output

import sympy 
from sympy import *
from sympy.physics.vector import ReferenceFrame, CoordinateSym
from sympy.vector import CoordSys3D, divergence, curl

import ipyvolume as ipv
import time
np.seterr(divide='ignore', invalid='ignore')
```




    {'divide': 'warn', 'over': 'warn', 'under': 'ignore', 'invalid': 'warn'}



## Sympy Basics: 
1. Unit vectors are indicated by a . (For example, R.x is the unit vector in the x direction). 
2. Scalars are indicated by [] (For example, R[0] is x)

## First let's import packages


```python
## Check versions
### Need at least Sympy Version 1.2 (from conda-forge)
```


```python
print('Ipyvolume version = {}'.format(ipv.__version__))
print('Sympy version = {}'.format(sympy.__version__))
```

    Ipyvolume version = 0.4.6
    Sympy version = 1.2



```python
## Now let's checking that plotting and the plotting widget work
```


```python
# init_printing()
plt.figure()
plt.plot([1,2,3])
plt.show()
```

## Installation notes
Sympy1.2 is from conda-forge:
1. sudo conda install -c conda-forge sympy 

403e4f8637b42272a838403e57df4fb21b6dc682
ipynb
Jupyter Notebook
setup.ipynb
lucask07/teaching-notebooks
732638b3bac528f85e0dc649c4671c005f58b22b
MIT
setup.ipynb
lucask07/teaching-notebooks
732638b3bac528f85e0dc649c4671c005f58b22b
MIT
setup.ipynb
lucask07/teaching-notebooks
732638b3bac528f85e0dc649c4671c005f58b22b
MIT
Qwen/Qwen-72B
1. YES
2. YES