<a href="https://colab.research.google.com/github/andresvillamayor/Python-Algebra-Lineal/blob/main/ecuacion_lineal_2.ipynb" target="_parent"></a>


```python
from sympy import * 
```


```python
x,y,d,z = symbols('x,y,d,z')
```

ecuación


```python
 d = (x + y) ** 2
 d
```




$\displaystyle \left(x + y\right)^{2}$



Expandimos la ecuación


```python
d = expand((x+y)**2)
d
```




$\displaystyle x^{2} + 2 x y + y^{2}$




```python
d= expand((x+y)**3)
d
```




$\displaystyle x^{3} + 3 x^{2} y + 3 x y^{2} + y^{3}$



Ecuación con dos variables


```python
d =  5 * x + 3 * y
d
```




$\displaystyle 5 x + 3 y$



Ecuación con 3 variables 


```python
d = 5 * x + 2 * y + 12 * z 
d
```




$\displaystyle 5 x + 2 y + 12 z$



5aa52fcc3a22c8bcce117eca4c4376d2e1811fbd
ipynb
Jupyter Notebook
ecuacion_lineal_2.ipynb
andresvillamayor/Python-Algebra-Lineal
40a60296ec9245572fafa9e57e20c764182d0b0b
Apache-2.0
ecuacion_lineal_2.ipynb
andresvillamayor/Python-Algebra-Lineal
40a60296ec9245572fafa9e57e20c764182d0b0b
Apache-2.0
ecuacion_lineal_2.ipynb
andresvillamayor/Python-Algebra-Lineal
40a60296ec9245572fafa9e57e20c764182d0b0b
Apache-2.0
Qwen/Qwen-72B
1. YES
2. YES