```python
import math
math.sqrt(9)
```




    3.0




```python
math.sqrt(8)
```




    2.8284271247461903




```python
import sympy
```


```python
sympy.sqrt(3)
```




    sqrt(3)




```python
sympy.sqrt(8)
```




    2*sqrt(2)




```python
from sympy import symbols
x,y = symbols('x y')
expr = x + 2*y
expr
```




    x + 2*y




```python
expr+1
```




    x + 2*y + 1




```python
expr-x
```




    2*y




```python
x*expr
```




    x*(x + 2*y)




```python
from sympy import expand, factor
expanded_expr = expand(x*expr)
expanded_expr
```




    x**2 + 2*x*y




```python
factor(expanded_expr)
```




    x*(x + 2*y)




```python
from sympy import *
x,t,z,nu=symbols('x t z nu')
```


```python
init_printing(use_unicode=True)
```


```python
diff(sin(x)*exp(x),x)
```


```python
integrate(exp(x)*sin(x)+exp(x)*cos(x))
```


```python
integrate(sin(x**2),(x,-oo,oo))
```


```python
limit(sin(x)/x,x,0)
```


```python
solve(x**2-2,x)
```


```python
y=Function('y')
dsolve(Eq(y(t).diff(t,t)-y(t),exp(t)),y(t))
```


```python
Matrix([[1,2],[2,2]]).eigenvals()
```


```python
besselj(nu,z).rewrite(jn)
```


```python
latex(Integral(cos(x)**2,(x,0,pi)))
```




    '\\int_{0}^{\\pi} \\cos^{2}{\\left (x \\right )}\\, dx'




```python

```

6d484ea3a2682c2b0fb74668ba4daa26028d73ac
ipynb
Jupyter Notebook
Symbolic-Computation.ipynb
foamliu/Symbolic-Computation
5f9a71998e04ad64f608dd462be9893c50cdfd4e
MIT
Symbolic-Computation.ipynb
foamliu/Symbolic-Computation
5f9a71998e04ad64f608dd462be9893c50cdfd4e
MIT
Symbolic-Computation.ipynb
foamliu/Symbolic-Computation
5f9a71998e04ad64f608dd462be9893c50cdfd4e
MIT
Qwen/Qwen-72B
1. YES
2. YES