<a href="https://colab.research.google.com/github/mnzk/mycolabo/blob/master/demo_sympy.ipynb" target="_parent"></a>


```
import sympy
from google.colab.output._publish import javascript
from IPython.display import Math
javascript(url="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/latest.js?config=default")

def disp(s):
    display(Math(sympy.latex(s)))

from sympy import Symbol,symbols, Matrix

def sec01():
    a,b,x = symbols("a b x")
    z = a * x + b
    disp(z)
    A = Matrix([122, 127, 101])
    B = Matrix([144, 138, 116])
    Z = A * x + B
    disp(Z)

    z = sum(Z) - 600
    disp(z)
    disp([k*60.0 for k in sympy.solve(z)][0])

sec01()

```

08a8cf5ab45ac3c31975b3609f1846c711b995b8
ipynb
Jupyter Notebook
demo_sympy.ipynb
mnzk/mycolabo
3160ebd7787b0ac1e0e43d5ef33eb6be019cf705
MIT
demo_sympy.ipynb
mnzk/mycolabo
3160ebd7787b0ac1e0e43d5ef33eb6be019cf705
MIT
demo_sympy.ipynb
mnzk/mycolabo
3160ebd7787b0ac1e0e43d5ef33eb6be019cf705
MIT
Qwen/Qwen-72B
1. YES
2. YES