```python
import math
import numpy as np
from sympy import *
```


```python
 # 2
 A = [(1, 2, 3), (-6, 5, -4), (7, 8, 9)]
 b = [10, -18, 14]
 detA = np.linalg.det(A)
 detA

```




    -120.00000000000009




```python
# 3
p = math.ceil(100*math.pi)
p
```




    315




```python
# 4
A = [(1, 3), (0, 3)]
b = [14, 21]
x = np.matmul(np.linalg.inv(A), np.transpose(b))
x1 = x[0]
x2 = x[1]
x1 - x2
```




    -14.0




```python
# 5
Lista = [(0, 1), (2, 3), (4, 5)]
Lista[1][1]
```




    3




```python
# 6
A = [(1, 2, 3, 4), (-8, 7, -6, 5), (2, -4, 6, 8), (7, 5, 3, 1)]
m12 = [(-8, -6, 5), (2, 6, 8), (7, 3, 1)]
M12 = np.linalg.det(m12)
C12 = (-1)**(1+2) * M12
C12
```




    360.00000000000006




```python
# 7
A = [(1,  2),  (-3,  4)]
b = [14,  18]
detA = np.linalg.det(A)
M11 = 4
Z11 = detA - M11
print(detA)
print(Z11)
math.floor(Z11)
```

    10.000000000000002
    6.000000000000002





    6




```python
# 8
Vr = math.e
Va = 2.72
er = 100 * abs(Va - Vr)/Vr
print(f"{er:7.1e}")

```

    6.3e-02



```python
# 9

```

ebd776a1088ba5b8344cabe30977c1def5d7738b
ipynb
Jupyter Notebook
Jupyter/55_Solucion_taller_n.ipynb
GiancarloBenavides/Metodos-Numericos
c35eb538d33b8dd58eacccf9e8b9b59c605d7dba
MIT
2020-10-29T19:13:39.000Z
2020-10-29T19:13:39.000Z
Jupyter/55_Solucion_taller_n.ipynb
GiancarloBenavides/Metodos-Numericos
c35eb538d33b8dd58eacccf9e8b9b59c605d7dba
MIT
Jupyter/55_Solucion_taller_n.ipynb
GiancarloBenavides/Metodos-Numericos
c35eb538d33b8dd58eacccf9e8b9b59c605d7dba
MIT
2020-11-12T20:22:40.000Z
2020-11-12T20:22:40.000Z
Qwen/Qwen-72B
1. YES
2. YES