```python
import sympy as sym
import numpy as np
from sympy.integrals import integrate
```


```python
x = sym.Symbol('x')
integrate(x**2, x)
```




    x**3/3




```python
y = x**2
a = integrate(y, x)
?a
```


    [1;31mType:[0m            Mul
    [1;31mString form:[0m     x**3/3
    [1;31mFile:[0m            c:\programdata\anaconda3\lib\site-packages\sympy\core\mul.py
    [1;31mDocstring:[0m       <no docstring>
    [1;31mClass docstring:[0m
    Base class for algebraic expressions.
    
    Everything that requires arithmetic operations to be defined
    should subclass this class, instead of Basic (which should be
    used only for argument storage and expression manipulation, i.e.
    pattern matching, substitutions, etc).
    
    See Also
    ========
    
    sympy.core.basic.Basic




```python
#sympy seems only to output symbolic solutions; not good for something we need to run by itself (without a human to translate)
```


```python
a = lambda x: sym.cosh(x)
b = a(125)
c = b.evalf()
d = b**1/2
e = d.evalf()
```


```python
inf = np.inf
```


```python

```




    inf




```python

```

7a6793ac4324eac07510f4da944fe0a59f4b17e7
ipynb
Jupyter Notebook
binder/testing/Timing_and_Old_Tests/Testing_SymPy.ipynb
villano-lab/galactic-spin
16b67b319008a4bb91ef3b2e80828e98cf13173b
MIT
2020-04-04T23:05:15.000Z
2021-10-01T15:42:53.000Z
binder/testing/Timing_and_Old_Tests/Testing_SymPy.ipynb
villano-lab/galactic-spin
16b67b319008a4bb91ef3b2e80828e98cf13173b
MIT
2021-11-12T18:51:21.000Z
2022-01-14T19:39:59.000Z
binder/testing/Timing_and_Old_Tests/Testing_SymPy.ipynb
villano-lab/galactic-spin
16b67b319008a4bb91ef3b2e80828e98cf13173b
MIT
Qwen/Qwen-72B
1. YES
2. YES