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


```python
from sympy import init_session
init_session(use_latex=True)
```

    IPython console for SymPy 1.7.1 (Python 3.7.10-64-bit) (ground types: python)
    
    These commands were executed:
    >>> from __future__ import division
    >>> from sympy import *
    >>> x, y, z, t = symbols('x y z t')
    >>> k, m, n = symbols('k m n', integer=True)
    >>> f, g, h = symbols('f g h', cls=Function)
    >>> init_printing()
    
    Documentation can be found at https://docs.sympy.org/1.7.1/
    


Ecuacion lineal  


```python
a, b, c, d, x, y = symbols ('a b c d x y')
a,b,c,d,x,y
```


```python
x = symbols('x', real = True , positive = True)
x
```


```python
x.assumptions0
```




    {'commutative': True,
     'complex': True,
     'extended_negative': False,
     'extended_nonnegative': True,
     'extended_nonpositive': False,
     'extended_nonzero': True,
     'extended_positive': True,
     'extended_real': True,
     'finite': True,
     'hermitian': True,
     'imaginary': False,
     'infinite': False,
     'negative': False,
     'nonnegative': True,
     'nonpositive': False,
     'nonzero': True,
     'positive': True,
     'real': True,
     'zero': False}



Sympy define los números en Reales, Racionales y Enteros 


```python
Rational(5,2)
```

sumando enteros racionales 


```python
x = symbols('x',real= True, positive = True)
x
```


```python
x = 1/2 + 3/2
x
```


```python
x = Rational(1,2) + Rational (3,2)
x
```


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


```python
d = 2 * y 
d
```


```python
d = y **2
d
```

9d2582e3f3f4ea7e251dbf35c1309dc550287c11
ipynb
Jupyter Notebook
ecuacion_lineal_1.ipynb
andresvillamayor/Python-Algebra-Lineal
40a60296ec9245572fafa9e57e20c764182d0b0b
Apache-2.0
ecuacion_lineal_1.ipynb
andresvillamayor/Python-Algebra-Lineal
40a60296ec9245572fafa9e57e20c764182d0b0b
Apache-2.0
ecuacion_lineal_1.ipynb
andresvillamayor/Python-Algebra-Lineal
40a60296ec9245572fafa9e57e20c764182d0b0b
Apache-2.0
Qwen/Qwen-72B
1. YES
2. YES