```python
# setup by importing some good modules
import sympy as sp
# All calls to sympy require sp. at the beginning
# One could use "from sympy import *", but then it's difficult to know what is sympy
# and what is another module when importing multiple modules.
# print things all pretty
from sympy.abc import *
sp.init_printing(use_latex='mathjax')
```


```python
sp.integrate(sp.cos(x-t)**2, x)
```




$$\frac{x}{2} \sin^{2}{\left (t - x \right )} + \frac{x}{2} \cos^{2}{\left (t - x \right )} - \frac{1}{2} \sin{\left (t - x \right )} \cos{\left (t - x \right )}$$




```python

```

e3f2bd668ef0b10e74ba08ba85bb3fddade15777
ipynb
Jupyter Notebook
MatterWaves.ipynb
guygastineau/Jupyter
5d97e1a57cc812e1131f1d39edbd6b15341f38ed
MIT
MatterWaves.ipynb
guygastineau/Jupyter
5d97e1a57cc812e1131f1d39edbd6b15341f38ed
MIT
2018-08-06T17:55:54.000Z
2018-08-07T18:47:52.000Z
MatterWaves.ipynb
guygastineau/Jupyter
5d97e1a57cc812e1131f1d39edbd6b15341f38ed
MIT
2018-08-06T17:39:08.000Z
2018-08-06T17:39:08.000Z
Qwen/Qwen-72B
1. YES
2. YES